Skip to content

Commit 9243138

Browse files
committed
Drop support for PHP < 7.4
1 parent ed3c565 commit 9243138

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.travis.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ os:
33
- linux
44
language: php
55
php:
6-
- 7.2
7-
- 7.3
86
- 7.4
97
env:
108
- DEPENDENCIES=lowest
@@ -32,19 +30,19 @@ script:
3230
- vendor/bin/phpstan analyse --no-progress # Run PHPStan
3331
- vendor/bin/psalm --show-info=false # run psalm
3432
- if [ "${DEPENDENCIES}" = "highest" ]; then vendor/bin/phan -i; fi; # Run phan
35-
- if [ "${TRAVIS_PHP_VERSION}" != "7.3" ]; then php -d zend_extension=xdebug.so vendor/bin/phpunit --coverage-clover=coverage.xml; fi; # Generate Code coverage report
33+
- if [ "${TRAVIS_PHP_VERSION}" != "7.4" ]; then php -d zend_extension=xdebug.so vendor/bin/phpunit --coverage-clover=coverage.xml; fi; # Generate Code coverage report
3634

3735
jobs:
3836
include:
3937
- stage: Test
40-
name: PHP:7.3 Windows
38+
name: PHP:7.4 Windows
4139
os: windows
4240
cache:
4341
directories:
4442
- C:/Users/travis/AppData/Local/Composer
4543
language: sh # No PHP currently
4644
env:
47-
- PHP_VERSION=7.3
45+
- PHP_VERSION=7.4
4846
- DEPENDENCIES=lowest
4947
install:
5048
- export EXACT_PHP_VERSION=$(choco search php --exact --all-versions --limit-output | grep $PHP_VERSION | cut -d \| -f 2)

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"vimeo/psalm": "^3.8"
3030
},
3131
"require": {
32-
"php": "~7.2",
32+
"php": "~7.4",
3333
"dealerdirect/phpcodesniffer-composer-installer": "~0.7",
3434
"escapestudios/symfony2-coding-standard": "^3.10.0",
3535
"slevomat/coding-standard": "^6.0.2",

0 commit comments

Comments
 (0)