diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cbe4fb9..7d85dd5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,39 +5,39 @@ on: workflow_dispatch: push: - branches: [ "*" ] + branches: ["*"] schedule: - cron: "0 8 * * 1" jobs: - php85: + test85: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: php: "8.5" - test83: + test84: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: - php: "8.3" + php: "8.4" - test82: + test83: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: - php: "8.2" + php: "8.3" - test81: + test82: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: - php: "8.1" + php: "8.2" testlower: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: - php: "8.1" + php: "8.2" composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest" diff --git a/README.md b/README.md index 910d287..5327551 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ For details on how to use this package, check out our [documentation](.docs). | State | Version | Branch | Nette | PHP | |--------|---------|----------|-------|---------| -| dev | `^0.5` | `master` | 3.1+ | `>=8.1` | +| dev | `^0.5` | `master` | 3.2+ | `>=8.2` | | stable | `^0.4` | `master` | 3.1+ | `>=8.1` | ## Development diff --git a/composer.json b/composer.json index 9f3b4f5..56f9d2f 100644 --- a/composer.json +++ b/composer.json @@ -17,18 +17,18 @@ } ], "require": { - "php": ">=8.1", - "nette/di": "^3.1.8", - "nette/application": "^3.1.4", - "nette/http": "^3.2.3", - "nette/utils": "^4.0.3" + "php": ">=8.2", + "nette/di": "^3.2.0", + "nette/application": "^3.2.0", + "nette/http": "^3.3.0", + "nette/utils": "^4.0.5" }, "require-dev": { "tracy/tracy": "^2.10.5", - "contributte/qa": "^0.4", - "contributte/tester": "^0.3", - "contributte/phpstan": "^0.1", - "mockery/mockery": "^1.5.0" + "contributte/qa": "^0.4.0", + "contributte/tester": "^0.3.0", + "contributte/phpstan": "^0.1.0", + "mockery/mockery": "^1.6.12" }, "conflict": { "nette/neon": "<3.4.0" diff --git a/phpstan.neon b/phpstan.neon index 562ab05..201ecd8 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,7 +3,7 @@ includes: parameters: level: 9 - phpVersion: 80100 + phpVersion: 80400 scanDirectories: - src diff --git a/ruleset.xml b/ruleset.xml index 17dd700..af0ca95 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -1,7 +1,7 @@ - + diff --git a/tests/Cases/E2E/App/ApiTest.php b/tests/Cases/E2E/App/ApiTest.php index 4c0a85c..efb54e3 100644 --- a/tests/Cases/E2E/App/ApiTest.php +++ b/tests/Cases/E2E/App/ApiTest.php @@ -34,10 +34,10 @@ public function testApi(array $def): void { $httpRequest = new HttpRequest( new UrlScript('http://localhost'), - null, - null, - null, - null, + [], + [], + [], + [], $def['request']['method'] ?? 'GET' );