File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 77
88env :
99 global :
10+ - RUN_PHPCSFIXER="TRUE"
11+ - RUN_PHPUNIT="TRUE"
1012 - RUN_PHPSTAN="FALSE"
1113 matrix :
1214 - PREFER_LOWEST="" REPORT_COVERAGE="TRUE" WITH_COVERAGE="--coverage-clover=coverage.xml"
1315 - PREFER_LOWEST="--prefer-lowest" REPORT_COVERAGE="FALSE" WITH_COVERAGE=""
1416
1517matrix :
1618 include :
19+ - name : ' PHP8'
20+ dist : focal
21+ php : nightly
22+ env :
23+ - RUN_PHPCSFIXER="FALSE"
24+ - REPORT_COVERAGE="FALSE"
1725 - name : ' PHPStan'
1826 php : 7.4
1927 env :
28+ - RUN_PHPCSFIXER="FALSE"
29+ - RUN_PHPUNIT="FALSE"
2030 - RUN_PHPSTAN="TRUE"
2131 - REPORT_COVERAGE="FALSE"
2232 fast_finish : true
2333
2434before_script :
35+ - if [ $RUN_PHPCSFIXER == "FALSE" ]; then composer remove --dev friendsofphp/php-cs-fixer; fi
2536 - composer update $PREFER_LOWEST
2637
2738script :
28- - if [ $RUN_PHPSTAN == "FALSE " ]; then php vendor/bin/php-cs-fixer fix --dry-run --diff; fi
29- - if [ $RUN_PHPSTAN == "FALSE " ]; then php vendor/bin/phpunit --configuration tests/phpunit.xml $WITH_COVERAGE; fi
39+ - if [ $RUN_PHPCSFIXER == "TRUE " ]; then php vendor/bin/php-cs-fixer fix --dry-run --diff; fi
40+ - if [ $RUN_PHPUNIT == "TRUE " ]; then php vendor/bin/phpunit --configuration tests/phpunit.xml $WITH_COVERAGE; fi
3041 - if [ $RUN_PHPSTAN == "TRUE" ]; then composer phpstan; fi
3142
3243after_success :
Original file line number Diff line number Diff line change 1010 "homepage" : " http://sabre.io/dav/" ,
1111 "license" : " BSD-3-Clause" ,
1212 "require" : {
13- "php" : " ^7.1" ,
13+ "php" : " ^7.1 || ^8.0 " ,
1414 "sabre/xml" : " ^2.0"
1515 },
1616 "authors" : [
You can’t perform that action at this time.
0 commit comments