File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 182
182
<!-- Prevent conflict with function spacing sniff. -->
183
183
<exclude-pattern >/requirements\.php</exclude-pattern >
184
184
</rule >
185
+
186
+ <!-- Use select error codes from the Squiz FunctionComment sniff, which shouldn't conflict with the PEAR sniff. -->
187
+ <rule ref =" Squiz.Commenting.FunctionComment.InvalidReturnVoid" />
188
+ <rule ref =" Squiz.Commenting.FunctionComment.InvalidNoReturn" />
189
+ <rule ref =" Squiz.Commenting.FunctionComment.InvalidReturnNotVoid" />
190
+ <rule ref =" Squiz.Commenting.FunctionComment.ThrowsNotCapital" />
191
+ <rule ref =" Squiz.Commenting.FunctionComment.ThrowsNoFullStop" />
192
+ <rule ref =" Squiz.Commenting.FunctionComment.InvalidReturnVoid" />
193
+ <rule ref =" Squiz.Commenting.FunctionComment.IncorrectTypeHint" />
194
+ <rule ref =" Squiz.Commenting.FunctionComment.InvalidTypeHint" />
195
+ <rule ref =" Squiz.Commenting.FunctionComment.ParamNameUnexpectedAmpersandPrefix" />
196
+ <rule ref =" Squiz.Commenting.FunctionComment.ParamCommentNotCapital" />
197
+
185
198
</ruleset >
You can’t perform that action at this time.
0 commit comments