Skip to content

Commit 3de9554

Browse files
committed
static fixes
1 parent f9dba47 commit 3de9554

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
@@ -140,7 +140,6 @@ parameters:
140140

141141
# internal reflection
142142
- '#Instead of "new ClassReflection\(\)" use ReflectionProvider service or "\(new PHPStan\\Reflection\\ClassReflection\(<desired_type>\)\)" for static reflection to work#'
143-
144143
- '#Callable callable\(PHPStan\\Type\\Type\)\: PHPStan\\Type\\Type invoked with 2 parameters, 1 required#'
145144

146145
# known value
@@ -186,10 +185,15 @@ parameters:
186185
# fixture class
187186
- '#Class "Rector\\Tests\\Issues\\ScopeNotAvailable\\Variable\\ArrayItemForeachValueRector" is missing @see annotation with test case class reference#'
188187

188+
# classes are part of *.php.inc fixture
189189
-
190190
message: '#Class (.*?) not found#'
191191
paths:
192-
- rules-tests/*/config/*
192+
- rules-tests/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector/config
193+
- rules-tests/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector/config
194+
- rules-tests/Renaming/Rector/Name/RenameClassRector/config
195+
- rules-tests/Renaming/Rector/MethodCall/RenameMethodRector/config
196+
- rules-tests/Arguments/Rector/ClassMethod/ArgumentAdderRector/config
193197

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

0 commit comments

Comments
 (0)