File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ parameters:
7171 earlyTerminatingMethodCalls : []
7272 earlyTerminatingFunctionCalls : []
7373 memoryLimitFile : %tmpDir%/.memory_limit
74+ staticReflectionClassNamePatterns :
75+ - ' #^PhpParser\\ #'
76+ - ' #^Hoa\\ #'
7477 dynamicConstantNames :
7578 - ICONV_IMPL
7679 - PHP_VERSION
@@ -193,6 +196,7 @@ parametersSchema:
193196 earlyTerminatingMethodCalls : arrayOf (listOf (string ()))
194197 earlyTerminatingFunctionCalls : listOf (string ())
195198 memoryLimitFile : string ()
199+ staticReflectionClassNamePatterns : listOf (string ())
196200 dynamicConstantNames : listOf (string ())
197201 customRulesetUsed : bool ()
198202 rootDir : string ()
@@ -994,9 +998,7 @@ services:
994998 class : PHPStan\Reflection\ReflectionProvider\ClassWhitelistReflectionProvider
995999 arguments :
9961000 reflectionProvider : @betterReflectionProvider
997- patterns :
998- - ' #^PhpParser\\ #'
999- - ' #^Hoa\\ #'
1001+ patterns : %staticReflectionClassNamePatterns%
10001002 autowired : false
10011003
10021004 betterReflectionSourceLocator :
You can’t perform that action at this time.
0 commit comments