Skip to content

Commit 4ceeef8

Browse files
committed
Changed squizlabs/php_codesniffer to zendframework/zend-coding-standard
1 parent 36b3c36 commit 4ceeef8

File tree

3 files changed

+34
-24
lines changed

3 files changed

+34
-24
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"require-dev": {
3939
"phpunit/phpunit": "^4.8",
40-
"squizlabs/php_codesniffer": "^2.7"
40+
"zendframework/zend-coding-standard": "~1.0.0"
4141
},
4242
"autoload": {
4343
"psr-4": {

composer.lock

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
<?xml version="1.0"?>
2-
<ruleset name="Zend Framework coding standard">
3-
<description>Zend Framework coding standard</description>
4-
5-
<!-- display progress -->
6-
<arg value="p"/>
7-
<arg name="colors"/>
8-
9-
<!-- inherit rules from: -->
10-
<rule ref="PSR2"/>
11-
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
12-
<rule ref="Generic.Formatting.SpaceAfterNot"/>
13-
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
14-
<properties>
15-
<property name="ignoreNewlines" value="true"/>
16-
</properties>
17-
</rule>
18-
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
19-
<properties>
20-
<property name="ignoreBlankLines" value="false"/>
21-
</properties>
22-
</rule>
2+
<ruleset name="Zend Framework Coding Standard">
3+
<rule ref="./vendor/zendframework/zend-coding-standard/ruleset.xml"/>
234

245
<!-- Paths to check -->
256
<file>config</file>

0 commit comments

Comments
 (0)