Skip to content

Commit bdc1947

Browse files
authored
Merge pull request #80 from spiral/fix-phpunit-fail
Resolve conflict with phpunit 10.5.46
2 parents d7ef7c4 + 939ec08 commit bdc1947

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"php": ">=8.1",
4747
"nyholm/psr7": "^1.8.2",
4848
"mockery/mockery": "^1.6.12",
49-
"phpunit/phpunit": "^9.6 || ^10.5.44",
49+
"phpunit/phpunit": "^9.6 || 10.5.45",
5050
"spiral/auth": "^3.15",
5151
"spiral/auth-http": "^3.15",
5252
"spiral/boot": "^3.15",

psalm.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
errorBaseline="psalm-baseline.xml"
99
>
1010
<issueHandlers>
11+
<MissingOverrideAttribute errorLevel="suppress"/>
12+
<ClassMustBeFinal errorLevel="suppress"/>
1113
<MissingClassConstType errorLevel="suppress"/>
1214
<RedundantConditionGivenDocblockType errorLevel="suppress"/>
1315
<RedundantCastGivenDocblockType errorLevel="suppress"/>

tests/app/Controller/GetController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public function headers(ServerRequestInterface $request): array
2525
#[Route('/get/scopes', 'get.scopes')]
2626
public function scopes(ServerRequestInterface $request): array
2727
{
28-
return Introspector::scopeNames();
28+
return \array_values(\array_filter(Introspector::scopeNames()));
2929
}
3030
}

0 commit comments

Comments
 (0)