Add PHPStan
This commit is contained in:
parent
419d1cec14
commit
9abfb29af7
7 changed files with 203 additions and 19 deletions
19
phpstan-baseline.neon
Normal file
19
phpstan-baseline.neon
Normal file
|
@ -0,0 +1,19 @@
|
|||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:identicalTo\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Presentation/TwigExtension/PresentationTwigExtensionTest.php
|
||||
|
||||
-
|
||||
message: '#^Static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) invoked with named argument \$actual, but it''s not allowed because of @no\-named\-arguments\.$#'
|
||||
identifier: argument.named
|
||||
count: 1
|
||||
path: tests/Presentation/TwigExtension/PresentationTwigExtensionTest.php
|
||||
|
||||
-
|
||||
message: '#^Static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) invoked with named argument \$expected, but it''s not allowed because of @no\-named\-arguments\.$#'
|
||||
identifier: argument.named
|
||||
count: 1
|
||||
path: tests/Presentation/TwigExtension/PresentationTwigExtensionTest.php
|
Loading…
Add table
Add a link
Reference in a new issue