This repository was archived by the owner on Feb 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-26
lines changed Expand file tree Collapse file tree 3 files changed +14
-26
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ matrix:
31
31
- php : 7
32
32
env :
33
33
- CS_CHECK=true
34
+ - php : 7.1
34
35
- php : hhvm
35
36
allow_failures :
36
37
- php : hhvm
Original file line number Diff line number Diff line change 19
19
"zendframework/zend-stdlib" : " ^3.1"
20
20
},
21
21
"require-dev" : {
22
- "phpunit/phpunit" : " ^4.6 || ^5.2.10" ,
23
22
"ocramius/proxy-manager" : " ^1.0 || ^2.0" ,
24
- "squizlabs/php_codesniffer" : " ^2.5.1" ,
25
23
"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"
27
27
},
28
28
"suggest" : {
29
29
"ocramius/proxy-manager" : " ProxyManager 1.* to handle lazy initialization of services" ,
51
51
" bin/generate-factory-for-class"
52
52
],
53
53
"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" ,
56
60
"test" : " phpunit --colors=always" ,
57
61
"test-coverage" : " phpunit --colors=always --coverage-clover clover.xml" ,
58
62
"upload-coverage" : " coveralls -v"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
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 >
3
+ <rule ref =" ./vendor/zendframework/zend-coding-standard/ruleset.xml" />
23
4
24
5
<!-- Paths to check -->
25
6
<file >bin</file >
26
7
<file >src</file >
27
8
<file >test</file >
28
- <exclude-pattern >*/test/log/*</exclude-pattern >
9
+ <file >benchmarks</file >
10
+
11
+ <exclude-pattern >test/log/</exclude-pattern >
29
12
</ruleset >
You can’t perform that action at this time.
0 commit comments