Skip to content

Commit

Permalink
Resolve PHP 8.2 issues in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joelambert committed Oct 25, 2023
1 parent 0be4485 commit b55b0be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: [7.4, 8.0, 8.1]
php_version: [8.0, 8.1, 8.2]
composer_flags: ['', '--prefer-lowest']

steps:
Expand Down
2 changes: 2 additions & 0 deletions tests/ResponseFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class ResponseFactoryTest extends TestCase
{
use \Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;

private ServerRequest $request;

public function setUp(): void
{
parent::setUp();
Expand Down

0 comments on commit b55b0be

Please sign in to comment.