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 5252 <exclude name =" SlevomatCodingStandard.Commenting.UselessFunctionDocComment" />
5353 <exclude name =" SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing" />
5454 <exclude name =" SlevomatCodingStandard.ControlStructures.DisallowEmpty.DisallowedEmpty" />
55+ <exclude name =" SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator.DisallowedShortTernaryOperator" />
5556 <!-- Hello PHP 8 -->
5657 <exclude name =" SlevomatCodingStandard.ControlStructures.DisallowNullSafeObjectOperator.DisallowedNullSafeObjectOperator" />
5758 <!-- cause they are allowed and wanted in symfony -->
8687 </properties >
8788 </rule >
8889
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+
89112 <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation" >
90113 <exclude-pattern >tests/**Context*.php</exclude-pattern >
91114 </rule >
You can’t perform that action at this time.
0 commit comments