File tree 6 files changed +11
-1
lines changed
6 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ before_script:
42
42
43
43
script :
44
44
- make tests TARGET=$TARGET
45
+ - if [ "$TARGET" == "72" ] ; then make check-style ; fi
45
46
46
47
after_script :
47
48
- cat /var/log/elasticsearch/*.log
Original file line number Diff line number Diff line change 81
81
lint :
82
82
${RUN_ENV} php-cs-fixer fix --allow-risky=yes
83
83
84
+ .PHONY : check-style
85
+ check-style :
86
+ ${RUN_ENV} php-cs-fixer fix --allow-risky=yes --dry-run
87
+
84
88
.PHONY : loc
85
89
loc :
86
90
${RUN_ENV} cloc --by-file --xml --exclude-dir=build -out=build/cloc.xml .
Original file line number Diff line number Diff line change @@ -34,5 +34,7 @@ ENV PATH=/root/composer/vendor/bin:$PATH
34
34
35
35
COPY composer.json /root/composer/
36
36
37
+ RUN composer global require --no-update friendsofphp/php-cs-fixer:^2.0
38
+
37
39
# Install development tools, prefer source removed as automatic fallback now
38
40
RUN composer global install
Original file line number Diff line number Diff line change @@ -34,5 +34,7 @@ ENV PATH=/root/composer/vendor/bin:$PATH
34
34
35
35
COPY composer.json /root/composer/
36
36
37
+ RUN composer global require --no-update friendsofphp/php-cs-fixer:^2.0
38
+
37
39
# Install development tools, prefer source removed as automatic fallback now
38
40
RUN composer global install
Original file line number Diff line number Diff line change @@ -32,5 +32,7 @@ ENV PATH=/root/composer/vendor/bin:$PATH
32
32
33
33
COPY composer.json /root/composer/
34
34
35
+ RUN composer global require --no-update friendsofphp/php-cs-fixer:^2.0
36
+
35
37
# Install development tools, prefer source removed as automatic fallback now
36
38
RUN composer global install
Original file line number Diff line number Diff line change 13
13
],
14
14
"require" : {
15
15
"php" : " ^7.0" ,
16
- "friendsofphp/php-cs-fixer" : " ^2.0" ,
17
16
"mayflower/php-codebrowser" : " ~1.1" ,
18
17
"pdepend/pdepend" : " ^2.5" ,
19
18
"phploc/phploc" : " ^4.0" ,
You can’t perform that action at this time.
0 commit comments