Skip to content

Commit ce08c5b

Browse files
committed
Drop support for PHP < 7.4
1 parent 33cc228 commit ce08c5b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
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
@@ -38,19 +36,19 @@ script:
3836
- vendor/bin/phpstan analyse --no-progress # Run PHPStan
3937
- vendor/bin/psalm --show-info=false # run psalm
4038
- if [ "${DEPENDENCIES}" = "highest" ]; then vendor/bin/phan; fi; # Run phan
41-
- 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
39+
- 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
4240

4341
jobs:
4442
include:
4543
- stage: Test
46-
name: PHP:7.3 Windows
44+
name: PHP:7.4 Windows
4745
os: windows
4846
cache:
4947
directories:
5048
- C:/Users/travis/AppData/Local/Composer
5149
language: sh # No PHP currently
5250
env:
53-
- PHP_VERSION=7.3
51+
- PHP_VERSION=7.4
5452
- DEPENDENCIES=lowest
5553
install:
5654
- export EXACT_PHP_VERSION=$(choco search php --exact --all-versions --limit-output | grep $PHP_VERSION | cut -d \| -f 2)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"phpstan/phpstan": "^0.12.33",
2727
"phpstan/phpstan-strict-rules": "^0.12",
2828
"phpunit/phpunit": "^7.0",
29-
"vimeo/psalm": "^3.8"
29+
"vimeo/psalm": "^4.0"
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.2.0",

0 commit comments

Comments
 (0)