Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

phpcs.xml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0"?>
  2. <ruleset name="Arne">
  3. <description>Arne Blankerts' coding standard</description>
  4. <rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
  5. <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
  6. <rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
  7. <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
  8. <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
  9. <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
  10. <rule ref="Generic.Commenting.Todo"/>
  11. <rule ref="Generic.ControlStructures.InlineControlStructure"/>
  12. <rule ref="Generic.Files.LineEndings">
  13. <properties>
  14. <property name="eolChar" value="\n"/>
  15. </properties>
  16. </rule>
  17. <rule ref="Generic.Formatting.DisallowMultipleStatements"/>
  18. <rule ref="Generic.Formatting.NoSpaceAfterCast"/>
  19. <rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" />
  20. <rule ref="Generic.Functions.FunctionCallArgumentSpacing" />
  21. <rule ref="PEAR.Functions.ValidDefaultValue"/>
  22. <rule ref="Generic.NamingConventions.ConstructorName"/>
  23. <!-- <rule ref="PEAR.NamingConventions.ValidClassName"/>-->
  24. <rule ref="Generic.PHP.DisallowShortOpenTag"/>
  25. <rule ref="Generic.PHP.NoSilencedErrors"/>
  26. <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
  27. <!-- Namespace handling broken, so disabled -->
  28. <!--<rule ref="Generic.WhiteSpace.ScopeIndent"/>-->
  29. <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
  30. </ruleset>