Files
archived-DoctrineModule/phpcs.xml
webimpress 6706e63632 General code fixes
- updated PHP CodeSniffer to version 2.7
- added phpcs.xml with defined CS rules
- fixed code to pass all CS checks
- short array syntax in docs
- composer scripts to run unit and cs checks
- updated travis configuration to use composer scripts
2016-10-16 20:09:31 +01:00

29 lines
807 B
XML

<?xml version="1.0"?>
<ruleset name="Doctrine coding standard">
<description>Doctrine coding standard</description>
<!-- display progress -->
<arg value="p"/>
<arg name="colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.Formatting.SpaceAfterNot"/>
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<!-- Paths to check -->
<file>config</file>
<file>src</file>
<file>tests</file>
</ruleset>