Skip to content

Commit d113e6f

Browse files
committed
static fixes
1 parent 147c266 commit d113e6f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

phpstan.neon

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ parameters:
135135

136136
# internal reflection
137137
- '#Instead of "new ClassReflection\(\)" use ReflectionProvider service or "\(new PHPStan\\Reflection\\ClassReflection\(<desired_type>\)\)" for static reflection to work#'
138-
139138
- '#Callable callable\(PHPStan\\Type\\Type\)\: PHPStan\\Type\\Type invoked with 2 parameters, 1 required#'
140139

141140
# known value
@@ -181,10 +180,15 @@ parameters:
181180
# fixture class
182181
- '#Class "Rector\\Tests\\Issues\\ScopeNotAvailable\\Variable\\ArrayItemForeachValueRector" is missing @see annotation with test case class reference#'
183182

183+
# classes are part of *.php.inc fixture
184184
-
185185
message: '#Class (.*?) not found#'
186186
paths:
187-
- rules-tests/*/config/*
187+
- rules-tests/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector/config
188+
- rules-tests/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector/config
189+
- rules-tests/Renaming/Rector/Name/RenameClassRector/config
190+
- rules-tests/Renaming/Rector/MethodCall/RenameMethodRector/config
191+
- rules-tests/Arguments/Rector/ClassMethod/ArgumentAdderRector/config
188192

189193
-
190194
message: '#Function "(function_exists|dump_node)\(\)" cannot be used/left in the code#'

0 commit comments

Comments
 (0)