File tree Expand file tree Collapse file tree 5 files changed +16
-9
lines changed Expand file tree Collapse file tree 5 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
1
/.phpcs-cache
2
2
/phpcs.xml
3
+ /phpstan.neon
3
4
/phpunit.xml
4
5
composer.lock
5
6
vendor /
Original file line number Diff line number Diff line change 65
65
- wget https://github.com/scrutinizer-ci/ocular/releases/download/1.5.2/ocular.phar
66
66
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
67
67
68
- - stage : Pull request coding standard
68
+ - stage : Code Quality
69
69
if : type = pull_request
70
+ env : PULL_REQUEST_CODING_STANDARD
70
71
php : 7.1
71
72
install : travis_retry composer install --prefer-dist
72
73
script :
@@ -79,12 +80,14 @@ jobs:
79
80
- wget https://github.com/diff-sniffer/git/releases/download/0.1.0/git-phpcs.phar
80
81
- php git-phpcs.phar origin/$TRAVIS_BRANCH...$TRAVIS_PULL_REQUEST_SHA
81
82
82
- # - stage: Coding standard
83
+ # - stage: Code Quality
83
84
# if: NOT type = pull_request
85
+ # env: CODING_STANDARD
84
86
# php: 7.1
85
87
# install: travis_retry composer install --prefer-dist
86
88
# script:
87
89
# - ./vendor/bin/phpcs
88
90
89
- - stage : Static Analysis
90
- script : vendor/bin/phpstan analyse -c phpstan.neon src tests
91
+ - stage : Code Quality
92
+ env : STATIC_ANALYSIS
93
+ script : ./vendor/bin/phpstan analyse
Original file line number Diff line number Diff line change 17
17
"ext-curl" : " *"
18
18
},
19
19
"require-dev" : {
20
- "doctrine/coding-standard" : " ^4 .0" ,
21
- "phpstan/phpstan" : " ^0.9.2 " ,
20
+ "doctrine/coding-standard" : " ^5 .0" ,
21
+ "phpstan/phpstan" : " ^0.10.3 " ,
22
22
"phpunit/phpunit" : " ^7" ,
23
23
"sebastian/comparator" : " ~3.0"
24
24
},
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ level: 1
3
+
4
+ paths:
5
+ - %currentWorkingDirectory%/src
6
+ - %currentWorkingDirectory%/tests
You can’t perform that action at this time.
0 commit comments