-
Notifications
You must be signed in to change notification settings - Fork 37
/
phpstan_baseline.neon
24 lines (21 loc) · 1.11 KB
/
phpstan_baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: src/Commands/Container/ContainerCheck.php
# That's fine, dump() can handle multiple values - This is not an error. https://github.com/symfony/var-dumper/blob/3.4/Resources/functions/dump.php
-
message: "#^Function dump invoked with 2 parameters, 1 required\\.$#"
count: 1
path: src/Commands/Configuration/ConfigurationExport.php
# The rule can not determine if the command name is correct because it's constructed at runtime.
-
message: "#^Console command name can not be extracted\\. Therefore consistency with classname can't be checked\\.$#"
count: 1
path: src/Commands/Image/ImageGenerateAbstract.php
# This error happens in a stub's test file. It must be ignored in the baseline otherwise the phpstan's unit test will fail.
-
message: "#^Call to an undefined method FOP\\\\Console\\\\Tests\\\\Resources\\\\Commands\\\\Domain\\\\DomainAction\\:\\:setName\\(\\)\\.$#"
count: 1
path: tests/Resources/Commands/Domain/DomainAction.php