File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11parameters :
22 customRulesetUsed : false
33 missingClosureNativeReturnCheckObjectTypehint : false
4- featureToggles :
5- closureUsesThis : false
64
75conditionalTags :
86 PHPStan\Rules\Functions\ClosureUsesThisRule :
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ conditionalTags:
88parameters :
99 checkFunctionArgumentTypes : true
1010 checkArgumentsPassedByReference : true
11- featureToggles :
12- randomIntParameters : false
11+
1312
1413services :
1514 -
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ parameters:
1111 disableRuntimeReflectionProvider : false
1212 enableScanningPaths : false
1313 resultCache : false
14+ closureUsesThis : false
15+ randomIntParameters : false
1416 fileExtensions :
1517 - php
1618 checkAlwaysTrueCheckTypeFunctionCall : false
@@ -125,7 +127,15 @@ parametersSchema:
125127 autoload_files : listOf (string ())
126128 level : schema (anyOf (int (), string ()), nullable ())
127129 paths : listOf (string ())
128- featureToggles : arrayOf (bool ())
130+ featureToggles : structure ([
131+ disableRobotLoader : bool (),
132+ staticReflectionForPhpParser : bool (),
133+ disableRuntimeReflectionProvider : bool (),
134+ enableScanningPaths : bool (),
135+ resultCache : bool (),
136+ closureUsesThis : bool (),
137+ randomIntParameters : bool ()
138+ ])
129139 fileExtensions : listOf (string ())
130140 checkAlwaysTrueCheckTypeFunctionCall : bool ()
131141 checkAlwaysTrueInstanceof : bool ()
You can’t perform that action at this time.
0 commit comments