Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
php:
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
php-versions: ['8.2', '8.3', '8.4']

runs-on: 'ubuntu-latest'

Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@2.9.0
with:
php-version: 7.4
php-version: 8.2
coverage: pcov

- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
tools: phpstan:0.12.92, cs2pr

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
tools: php-cs-fixer:3.9.5, cs2pr

Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.2
coverage: none
tools: vimeo/psalm:4.8.1

Expand Down
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,29 @@
"email": "travis@mailgunhq.com"
}
],
"repositories": [
{
"type": "git",
"url": "https://github.com/Chris53897/NSA.git"
}
],
"require": {
"php": "^7.4 || ^8.0",
"php-http/client-common": "^2.2.1",
"php-http/discovery": "^1.19",
"php-http/multipart-stream-builder": "^1.1.2",
"psr/http-client": "^1.0",
"webmozart/assert": "^1.9.1"
"webmozart/assert": "^2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.43",
"nyholm/nsa": "^1.2.1",
"nyholm/nsa": "dev-patch-1",
"nyholm/psr7": "^1.3.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^9.3",
"squizlabs/php_codesniffer": "^3.7",
"symfony/http-client": "^5.4 || ^6.3",
"vimeo/psalm": "^4.0 || ^5.25"
"vimeo/psalm": "^4.0 || ^5.25 || ^6"
},
"suggest": {
"nyholm/psr7": "PSR-7 message implementation",
Expand Down
2 changes: 1 addition & 1 deletion src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class Assert extends \Webmozart\Assert\Assert
* @param mixed $message
* @return void
*/
protected static function reportInvalidArgument($message): void
protected static function reportInvalidArgument(string $message): never
{
throw new InvalidArgumentException($message);
}
Expand Down
Loading