File tree Expand file tree Collapse file tree 4 files changed +21
-19
lines changed Expand file tree Collapse file tree 4 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 11language : php
22
3- sudo : false
4-
53cache :
64 directories :
75 - $HOME/.composer/cache/files
86
9- php :
10- - 7.1
11- - 7.2
12- - 7.3
13-
147env :
158 global :
169 - TEST_COMMAND="composer test"
@@ -23,12 +16,23 @@ branches:
2316matrix :
2417 fast_finish : true
2518 include :
26- - name : PHPSpec
19+ - name : PHPSpec 7.1
20+ php : 7.1
21+ - name : PHPSpec 7.2
22+ php : 7.2
23+ - name : PHPSpec 7.3
24+ php : 7.3
25+ - name : PHPSpec 7.4
26+ php : 7.4
27+ - name : PHPSpec 8.0
28+ php : nightly
29+ env : COMPOSER_FLAGS="--prefer-stable --ignore-platform-reqs" DEPENDENCIES="phpdocumentor/reflection-docblock:^5.2@dev"
30+ - name : PHPSpec lowest
2731 php : 7.1
28- env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" TEST_COMMAND="composer test" PULI_VERSION=1.0.0-beta9
32+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" PULI_VERSION=1.0.0-beta9
2933 - name : PHPSpec code coverage
3034 php : 7.2
31- env : COVERAGE=true TEST_COMMAND="composer test-ci" PULI_VERSION=1.0.0-beta10 DEPENDENCIES="friends-of-phpspec/phpspec-code-coverage:^4.3"
35+ env : COVERAGE=true TEST_COMMAND="composer test-ci" DEPENDENCIES="friends-of-phpspec/phpspec-code-coverage:^4.3 phpspec/phpspec:^5.1 "
3236 - name : PHPUnit tests
3337 php : 7.3
3438 env : TEST_COMMAND="./vendor/bin/phpunit" DEPENDENCIES="phpunit/phpunit:^7.5 nyholm/psr7:^1.0 kriswallsmith/buzz:^1.0 php-http/curl-client:^1.0 php-http/message"
Original file line number Diff line number Diff line change 1111 }
1212 ],
1313 "require" : {
14- "php" : " ^7.1"
14+ "php" : " ^7.1 || ^8.0 "
1515 },
1616 "require-dev" : {
17+ "graham-campbell/phpspec-skip-example-extension" : " ^5.0" ,
1718 "php-http/httplug" : " ^1.0 || ^2.0" ,
1819 "php-http/message-factory" : " ^1.0" ,
19- "puli/composer-plugin" : " 1.0.0-beta10" ,
20- "phpspec/phpspec" : " ^5.1" ,
21- "akeneo/phpspec-skip-example-extension" : " ^4.0"
20+ "phpspec/phpspec" : " ^5.1 || ^6.1" ,
21+ "puli/composer-plugin" : " 1.0.0-beta10"
2222 },
2323 "suggest" : {
2424 "puli/composer-plugin" : " Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details." ,
Original file line number Diff line number Diff line change 1212use PhpSpec \ObjectBehavior ;
1313
1414/**
15- * @require \NotPHP73
15+ * @require \PuliIsSupported
1616 */
1717class PuliSpec extends ObjectBehavior
1818{
Original file line number Diff line number Diff line change 88 ]);
99}
1010
11- if (PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 70400 ) {
12- class PHP73 {}
13- } else {
14- class NotPHP73 {}
11+ if (PHP_VERSION_ID < 70300 ) {
12+ class PuliIsSupported {}
1513}
You can’t perform that action at this time.
0 commit comments