diff --git a/.github/workflows/quality-assurance.yaml b/.github/workflows/quality-assurance.yaml index dd958f1..0368476 100644 --- a/.github/workflows/quality-assurance.yaml +++ b/.github/workflows/quality-assurance.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '8.1', '8.2', '8.3' ] + php: [ '8.1', '8.2', '8.3', '8.4' ] composer-flags: [ '' ] phpunit-flags: [ '--coverage-text' ] steps: @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '8.1', '8.2', '8.3' ] + php: [ '8.1', '8.2', '8.3', '8.4' ] composer-flags: [ '' ] steps: - uses: actions/checkout@v2 diff --git a/phpstan.neon b/phpstan.neon index 0865407..0ead9cd 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,8 +3,9 @@ parameters: paths: - src - tests - checkGenericClassInNonGenericObjectType: false ignoreErrors: + - + identifier: missingType.generics - message: '#type has no value type specified in iterable type array#' path: tests/ diff --git a/tests/Fakes/MockLogger.php b/tests/Fakes/MockLogger.php index f4ca2b5..3b464d3 100644 --- a/tests/Fakes/MockLogger.php +++ b/tests/Fakes/MockLogger.php @@ -17,7 +17,7 @@ class MockLogger extends AbstractLogger /** * @param array $context */ - public function log($level, $message, array $context = []): void + public function log($level, string|\Stringable $message, array $context = []): void { $this->messages[$level][] = [ 'message' => $message,