Skip to content

Commit 58d242f

Browse files
authored
Merge pull request #27 from Crell/php84
Test on GHA on PHP 8.4
2 parents 7b9ad42 + f3506c6 commit 58d242f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/quality-assurance.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
php: [ '8.1', '8.2', '8.3' ]
14+
php: [ '8.1', '8.2', '8.3', '8.4' ]
1515
composer-flags: [ '' ]
1616
phpunit-flags: [ '--coverage-text' ]
1717
steps:
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
strategy:
3030
matrix:
31-
php: [ '8.1', '8.2', '8.3' ]
31+
php: [ '8.1', '8.2', '8.3', '8.4' ]
3232
composer-flags: [ '' ]
3333
steps:
3434
- uses: actions/checkout@v2

phpstan.neon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ parameters:
33
paths:
44
- src
55
- tests
6-
checkGenericClassInNonGenericObjectType: false
76
ignoreErrors:
7+
-
8+
identifier: missingType.generics
89
-
910
message: '#type has no value type specified in iterable type array#'
1011
path: tests/

tests/Fakes/MockLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MockLogger extends AbstractLogger
1717
/**
1818
* @param array<string, string> $context
1919
*/
20-
public function log($level, $message, array $context = []): void
20+
public function log($level, string|\Stringable $message, array $context = []): void
2121
{
2222
$this->messages[$level][] = [
2323
'message' => $message,

0 commit comments

Comments
 (0)