forked from sspooky13/yaml-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
25 lines (24 loc) · 1.68 KB
/
phpstan.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
25
parameters:
reportUnmatchedIgnoredErrors: false # this is skipped because for symfony 4.2 and newer versions someone error doesn't showing
ignoreErrors:
-
message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::end\(\)\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
# this is skipped because I want to support symfony 4.1 and lower versions
-
message: '#^Class Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder does not have a constructor and must be instantiated without any parameters\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
-
message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder::getRootNode\(\)\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
-
message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::prototype\(\)\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
-
message: '#^Comparison operation ">=" between \d+ and \d+ is always (?:true|false)\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
-
message: '#^Else branch is unreachable because previous condition is always (?:true|false)\.$#'
path: %currentWorkingDirectory%/src/Model/Config/YamlStandardConfigDefinition.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon