File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
ProjektMOTORCodingStandard Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 52
52
<exclude name =" SlevomatCodingStandard.Commenting.UselessFunctionDocComment" />
53
53
<exclude name =" SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing" />
54
54
<exclude name =" SlevomatCodingStandard.ControlStructures.DisallowEmpty.DisallowedEmpty" />
55
+ <exclude name =" SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator.DisallowedShortTernaryOperator" />
55
56
<!-- Hello PHP 8 -->
56
57
<exclude name =" SlevomatCodingStandard.ControlStructures.DisallowNullSafeObjectOperator.DisallowedNullSafeObjectOperator" />
57
58
<!-- cause they are allowed and wanted in symfony -->
86
87
</properties >
87
88
</rule >
88
89
90
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" >
91
+ <exclude-pattern >src/DataTransformer/*.php</exclude-pattern >
92
+ </rule >
93
+
94
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" >
95
+ <exclude-pattern >src/DataProvider/*.php</exclude-pattern >
96
+ <exclude-pattern >src/DataTransformer/*.php</exclude-pattern >
97
+ </rule >
98
+
99
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint" >
100
+ <exclude-pattern >src/Controller/Admin/*Controller.php</exclude-pattern >
101
+ <exclude-pattern >src/Security/Voter/*Voter.php</exclude-pattern >
102
+ <exclude-pattern >src/DataTransformer/*.php</exclude-pattern >
103
+ </rule >
104
+
105
+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" >
106
+ <exclude-pattern >tests/Context/EmailTrait.php</exclude-pattern >
107
+ <exclude-pattern >src/DataProvider/*.php</exclude-pattern >
108
+ <exclude-pattern >src/DataTransformer/*.php</exclude-pattern >
109
+ <exclude-pattern >src/Controller/Admin/*.php</exclude-pattern >
110
+ </rule >
111
+
89
112
<rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation" >
90
113
<exclude-pattern >tests/**Context*.php</exclude-pattern >
91
114
</rule >
You can’t perform that action at this time.
0 commit comments