]> git.agnieray.net Git - galette.git/blobdiff - .phpcs.xml
Fix histroy filter
[galette.git] / .phpcs.xml
index 8fe8b37416df47957ca51b6ad266670a937b5e40..26cd2e051991719c03cb2fc81fc868e195775d58 100644 (file)
      <rule ref="PSR12"/>
 
      <!-- Comments rules from PEAR standard -->
-     <rule ref="PEAR.Commenting.ClassComment"/>
-     <rule ref="PEAR.Commenting.FileComment"/>
+     <rule ref="PEAR.Commenting.ClassComment">
+         <exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
+         <exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
+         <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
+         <exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
+     </rule>
      <rule ref="PEAR.Commenting.FunctionComment"/>
      <rule ref="PEAR.Commenting.InlineComment"/>
+     <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
+         <exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
+     </rule>
+     <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
+         <exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification"/>
+     </rule>
+     <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
+         <exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation"/>
+         <exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
+     </rule>
 </ruleset>