-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan-baseline.neon
104 lines (87 loc) · 4.1 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
parameters:
ignoreErrors:
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Type/JsonType.php
-
message: '#^Method Nucleos\\Form\\Tests\\Bridge\\Symfony\\App\\AppKernel\:\:configureContainer\(\) has parameter \$container with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: tests/Bridge/Symfony/App/AppKernel.php
-
message: '#^Method Nucleos\\Form\\Tests\\Bridge\\Symfony\\App\\AppKernel\:\:configureContainer\(\) has parameter \$loader with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: tests/Bridge/Symfony/App/AppKernel.php
-
message: '#^Method Nucleos\\Form\\Tests\\Bridge\\Symfony\\App\\AppKernel\:\:configureRoutes\(\) has parameter \$routes with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: tests/Bridge/Symfony/App/AppKernel.php
-
message: '#^Call to method getResponse\(\) on an unknown class Symfony\\Component\\HttpKernel\\Client\.$#'
identifier: class.notFound
count: 1
path: tests/Bridge/Symfony/Bundle/BundleIntegrationTest.php
-
message: '#^Call to method request\(\) on an unknown class Symfony\\Component\\HttpKernel\\Client\.$#'
identifier: class.notFound
count: 1
path: tests/Bridge/Symfony/Bundle/BundleIntegrationTest.php
-
message: '#^Instantiated class Symfony\\Component\\HttpKernel\\Client not found\.$#'
identifier: class.notFound
count: 1
path: tests/Bridge/Symfony/Bundle/BundleIntegrationTest.php
-
message: '#^Method Nucleos\\Form\\Tests\\Fixtures\\AlwaysErrorFormHandler\:\:preProcess\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: tests/Fixtures/AlwaysErrorFormHandler.php
-
message: '#^Property Nucleos\\Form\\Tests\\Test\\AbstractFormHandlerTestCaseTest\:\:\$formHandler with generic interface Nucleos\\Form\\Handler\\FormHandlerInterface does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: tests/Test/AbstractFormHandlerTestCaseTest.php
-
message: '#^Method Nucleos\\Form\\Tests\\Type\\BaseTypeTestCase\:\:create\(\) should return Symfony\\Component\\Form\\FormInterface\<T\> but returns Symfony\\Component\\Form\\FormInterface\<null\>\.$#'
identifier: return.type
count: 1
path: tests/Type/BaseTypeTestCase.php
-
message: '#^Method Nucleos\\Form\\Tests\\Type\\BaseTypeTestCase\:\:createNamed\(\) should return Symfony\\Component\\Form\\FormInterface\<T\> but returns Symfony\\Component\\Form\\FormInterface\<null\>\.$#'
identifier: return.type
count: 1
path: tests/Type/BaseTypeTestCase.php
-
message: '#^Method Nucleos\\Form\\Tests\\Type\\DoctrineDiscriminatorTypeTest\:\:getTypes\(\) return type with generic interface Symfony\\Component\\Form\\FormTypeInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: tests/Type/DoctrineDiscriminatorTypeTest.php
-
message: '#^Property Nucleos\\Form\\Tests\\Type\\DoctrineDiscriminatorTypeTest\:\:\$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: tests/Type/DoctrineDiscriminatorTypeTest.php
-
message: '#^Trying to mock an undefined method getBegin\(\) on class stdClass\.$#'
identifier: phpunit.mockMethod
count: 13
path: tests/Validator/Constraints/BatchTimeAfterValidatorTest.php
-
message: '#^Trying to mock an undefined method getEnd\(\) on class stdClass\.$#'
identifier: phpunit.mockMethod
count: 13
path: tests/Validator/Constraints/BatchTimeAfterValidatorTest.php
-
message: '#^Trying to mock an undefined method getBegin\(\) on class stdClass\.$#'
identifier: phpunit.mockMethod
count: 11
path: tests/Validator/Constraints/DateAfterValidatorTest.php
-
message: '#^Trying to mock an undefined method getEnd\(\) on class stdClass\.$#'
identifier: phpunit.mockMethod
count: 11
path: tests/Validator/Constraints/DateAfterValidatorTest.php