Skip to content

Commit f247541

Browse files
committed
remove php 7.2 support
1 parent 2fdac15 commit f247541

File tree

3 files changed

+207
-155
lines changed

3 files changed

+207
-155
lines changed

.travis.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 7.2
54
- 7.3
65
- 7.4snapshot
76

@@ -25,10 +24,10 @@ install:
2524

2625
script:
2726
- ./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
3130

3231
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

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
}
2828
},
2929
"require": {
30-
"php": ">=7.2",
30+
"php": ">=7.3",
3131
"amphp/amp": "^2",
3232
"amphp/file": "^0.3"
3333
},
3434
"require-dev": {
3535
"php-service-bus/code-style-config": "^v0.1",
3636
"phpunit/phpunit": "^8",
3737
"vimeo/psalm": "^v3",
38-
"phpstan/phpstan": "^0.11"
38+
"phpstan/phpstan": "0.11.*"
3939
},
4040
"prefer-stable": true,
4141
"minimum-stability": "dev",

0 commit comments

Comments
 (0)