-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrules.neon
61 lines (59 loc) · 2.63 KB
/
rules.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
parameters:
cakeDC:
addAssociationExistsTableClassRule: true
addAssociationMatchOptionsTypesRule: true
addBehaviorExistsClassRule: true
tableGetMatchOptionsTypesRule: true
ormSelectQueryFindMatchOptionsTypesRule: true
disallowEntityArrayAccessRule: false
getMailerExistsClassRule: true
loadComponentExistsClassRule: true
parametersSchema:
cakeDC: structure([
addAssociationExistsTableClassRule: anyOf(bool(), arrayOf(bool()))
addAssociationMatchOptionsTypesRule: anyOf(bool(), arrayOf(bool()))
addBehaviorExistsClassRule: anyOf(bool(), arrayOf(bool()))
tableGetMatchOptionsTypesRule: anyOf(bool(), arrayOf(bool()))
ormSelectQueryFindMatchOptionsTypesRule: anyOf(bool(), arrayOf(bool()))
disallowEntityArrayAccessRule: anyOf(bool(), arrayOf(bool()))
getMailerExistsClassRule: anyOf(bool(), arrayOf(bool()))
loadComponentExistsClassRule: anyOf(bool(), arrayOf(bool()))
])
conditionalTags:
CakeDC\PHPStan\Visitor\AddAssociationSetClassNameVisitor:
phpstan.parser.richParserNodeVisitor: %cakeDC.addAssociationExistsTableClassRule%
CakeDC\PHPStan\Rule\Controller\LoadComponentExistsClassRule:
phpstan.rules.rule: %cakeDC.loadComponentExistsClassRule%
CakeDC\PHPStan\Rule\Model\AddAssociationExistsTableClassRule:
phpstan.rules.rule: %cakeDC.addAssociationExistsTableClassRule%
CakeDC\PHPStan\Rule\Model\AddAssociationMatchOptionsTypesRule:
phpstan.rules.rule: %cakeDC.addAssociationMatchOptionsTypesRule%
CakeDC\PHPStan\Rule\Model\AddBehaviorExistsClassRule:
phpstan.rules.rule: %cakeDC.addBehaviorExistsClassRule%
CakeDC\PHPStan\Rule\Model\DisallowEntityArrayAccessRule:
phpstan.rules.rule: %cakeDC.disallowEntityArrayAccessRule%
CakeDC\PHPStan\Rule\Mailer\GetMailerExistsClassRule:
phpstan.rules.rule: %cakeDC.getMailerExistsClassRule%
CakeDC\PHPStan\Rule\Model\TableGetMatchOptionsTypesRule:
phpstan.rules.rule: %cakeDC.tableGetMatchOptionsTypesRule%
CakeDC\PHPStan\Rule\Model\OrmSelectQueryFindMatchOptionsTypesRule:
phpstan.rules.rule: %cakeDC.ormSelectQueryFindMatchOptionsTypesRule%
services:
-
class: CakeDC\PHPStan\Visitor\AddAssociationSetClassNameVisitor
-
class: CakeDC\PHPStan\Rule\Controller\LoadComponentExistsClassRule
-
class: CakeDC\PHPStan\Rule\Model\AddAssociationExistsTableClassRule
-
class: CakeDC\PHPStan\Rule\Model\AddAssociationMatchOptionsTypesRule
-
class: CakeDC\PHPStan\Rule\Model\AddBehaviorExistsClassRule
-
class: CakeDC\PHPStan\Rule\Model\DisallowEntityArrayAccessRule
-
class: CakeDC\PHPStan\Rule\Mailer\GetMailerExistsClassRule
-
class: CakeDC\PHPStan\Rule\Model\TableGetMatchOptionsTypesRule
-
class: CakeDC\PHPStan\Rule\Model\OrmSelectQueryFindMatchOptionsTypesRule