Skip to content

Commit b207dd4

Browse files
committed
Fix static-analysis
1 parent bbaac4b commit b207dd4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ parameters:
387387

388388
-
389389
message: "#^Call to method disableOriginalConstructor\\(\\) on an unknown class PHPUnit_Framework_MockObject_MockBuilder\\.$#"
390-
count: 1
390+
count: 2
391391
path: tests/ExpressionLanguage/TestCase.php
392392

393393
-

tests/ExpressionLanguage/ExpressionFunction/Security/GetUserTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ protected function getFunctions()
2424
return [new GetUser()];
2525
}
2626

27-
/**
28-
* @return CoreSecurity|BundleSecurity|MockObject
29-
*/
27+
// @phpstan-ignore-next-line
3028
protected function getMockedSecurity()
3129
{
3230
if (Kernel::VERSION_ID >= 60200) {

0 commit comments

Comments
 (0)