File tree 3 files changed +207
-155
lines changed
3 files changed +207
-155
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 7.2
5
4
- 7.3
6
5
- 7.4snapshot
7
6
@@ -25,10 +24,10 @@ install:
25
24
26
25
script :
27
26
- ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover
28
- - if [ "$TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/psalm --config=psalm.xml; fi
29
- - if [ "$TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/phpstan analyse src --level 7; fi
30
- - if [ "$TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
27
+ - if [ "$TRAVIS_PHP_VERSION" == "7.3 " ]; then ./vendor/bin/psalm --config=psalm.xml; fi
28
+ - if [ "$TRAVIS_PHP_VERSION" == "7.3 " ]; then ./vendor/bin/phpstan analyse src --level 7; fi
29
+ - if [ "$TRAVIS_PHP_VERSION" == "7.3 " ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
31
30
32
31
after_script :
33
- - if [ "$TRAVIS_PHP_VERSION" == "7.2 " ]; then wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar; fi
34
- - if [ "$TRAVIS_PHP_VERSION" == "7.2 " ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
32
+ - if [ "$TRAVIS_PHP_VERSION" == "7.3 " ]; then wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar; fi
33
+ - if [ "$TRAVIS_PHP_VERSION" == "7.3 " ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
Original file line number Diff line number Diff line change 27
27
}
28
28
},
29
29
"require" : {
30
- "php" : " >=7.2 " ,
30
+ "php" : " >=7.3 " ,
31
31
"amphp/amp" : " ^2" ,
32
32
"amphp/file" : " ^0.3"
33
33
},
34
34
"require-dev" : {
35
35
"php-service-bus/code-style-config" : " ^v0.1" ,
36
36
"phpunit/phpunit" : " ^8" ,
37
37
"vimeo/psalm" : " ^v3" ,
38
- "phpstan/phpstan" : " ^ 0.11"
38
+ "phpstan/phpstan" : " 0.11.* "
39
39
},
40
40
"prefer-stable" : true ,
41
41
"minimum-stability" : " dev" ,
You can’t perform that action at this time.
0 commit comments