Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit ff2c7f5

Browse files
committed
Merge branch 'hotfix/166' into develop
Conflicts: .travis.yml composer.json phpcs.xml
2 parents 6ed63fd + 58e52fe commit ff2c7f5

File tree

3 files changed

+14
-26
lines changed

3 files changed

+14
-26
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ matrix:
3131
- php: 7
3232
env:
3333
- CS_CHECK=true
34+
- php: 7.1
3435
- php: hhvm
3536
allow_failures:
3637
- php: hhvm

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"zendframework/zend-stdlib": "^3.1"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^4.6 || ^5.2.10",
2322
"ocramius/proxy-manager": "^1.0 || ^2.0",
24-
"squizlabs/php_codesniffer": "^2.5.1",
2523
"phpbench/phpbench": "^0.10.0",
26-
"mikey179/vfsStream": "^1.6"
24+
"phpunit/phpunit": "^4.6 || ^5.2.10",
25+
"mikey179/vfsStream": "^1.6",
26+
"zendframework/zend-coding-standard": "~1.0.0"
2727
},
2828
"suggest": {
2929
"ocramius/proxy-manager": "ProxyManager 1.* to handle lazy initialization of services",
@@ -51,8 +51,12 @@
5151
"bin/generate-factory-for-class"
5252
],
5353
"scripts": {
54-
"cs-check": "phpcs --colors",
55-
"cs-fix": "phpcbf --colors",
54+
"check": [
55+
"@cs-check",
56+
"@test"
57+
],
58+
"cs-check": "phpcs",
59+
"cs-fix": "phpcbf",
5660
"test": "phpunit --colors=always",
5761
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
5862
"upload-coverage": "coveralls -v"

phpcs.xml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
11
<?xml version="1.0"?>
22
<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>
3+
<rule ref="./vendor/zendframework/zend-coding-standard/ruleset.xml"/>
234

245
<!-- Paths to check -->
256
<file>bin</file>
267
<file>src</file>
278
<file>test</file>
28-
<exclude-pattern>*/test/log/*</exclude-pattern>
9+
<file>benchmarks</file>
10+
11+
<exclude-pattern>test/log/</exclude-pattern>
2912
</ruleset>

0 commit comments

Comments
 (0)