Skip to content

Commit

Permalink
PHP 8.2 is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 11, 2023
1 parent 7600424 commit 2f8d2fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
php: [8.0, 8.1, 8.2]

name: PHP ${{ matrix.php }} tests
steps:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": ">=8.0 <8.2"
"php": ">=8.0 <8.3"
},
"require-dev": {
"nette/tester": "^2.4"
Expand Down
2 changes: 1 addition & 1 deletion tests/Github/Http/CachedClient.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CachingTestCase extends Tester\TestCase
Assert::same($this->client, $this->client->onRequest($cb));
Assert::same($this->client, $this->client->onResponse($cb));
}, [
[E_USER_NOTICE, "Inner onRequest called: Closure::%A%"],
[E_USER_NOTICE, 'Inner onRequest called: %a?%Closure::%A%'],
[E_USER_NOTICE, 'Inner onResponse called: NULL'],
]);

Expand Down

0 comments on commit 2f8d2fe

Please sign in to comment.