@@ -10,6 +10,7 @@ parameters:
1010 loadComponentExistsClassRule : true
1111 controllerMethodMustBeUsedRule : true
1212 disallowDebugFunctionsRule : true
13+ disallowDebugStaticCallRule : true
1314parametersSchema :
1415 cakeDC : structure ([
1516 addAssociationExistsTableClassRule : anyOf (bool (), arrayOf (bool ()))
@@ -22,6 +23,7 @@ parametersSchema:
2223 loadComponentExistsClassRule : anyOf (bool (), arrayOf (bool ()))
2324 controllerMethodMustBeUsedRule : anyOf (bool (), arrayOf (bool ()))
2425 disallowDebugFunctionsRule : anyOf (bool (), arrayOf (bool ()))
26+ disallowDebugStaticCallRule : anyOf (bool (), arrayOf (bool ()))
2527 ])
2628
2729conditionalTags :
@@ -47,6 +49,8 @@ conditionalTags:
4749 phpstan.rules.rule : %cakeDC.ormSelectQueryFindMatchOptionsTypesRule%
4850 CakeDC\PHPStan\Rule\Debug\DisallowDebugFunctionsRule :
4951 phpstan.rules.rule : %cakeDC.disallowDebugFunctionsRule%
52+ CakeDC\PHPStan\Rule\Debug\DisallowDebugStaticCallRule :
53+ phpstan.rules.rule : %cakeDC.disallowDebugStaticCallRule%
5054
5155services :
5256 -
@@ -71,3 +75,5 @@ services:
7175 class : CakeDC\PHPStan\Rule\Model\OrmSelectQueryFindMatchOptionsTypesRule
7276 -
7377 class : CakeDC\PHPStan\Rule\Debug\DisallowDebugFunctionsRule
78+ -
79+ class : CakeDC\PHPStan\Rule\Debug\DisallowDebugStaticCallRule
0 commit comments