Skip to content

Commit 70620d2

Browse files
committed
Drop support for PHP < 7.4
1 parent 275cb9d commit 70620d2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Diff for: .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)

Diff for: MO4/Library/PregLibrary.php

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class PregLibrary
3434
* @return string[]|array[]
3535
*
3636
* @throws RuntimeException
37+
*
38+
* @psalm-suppress ArgumentTypeCoercion
3739
*/
3840
public static function mo4_preg_split($pattern, $subject, $limit=-1, $flags=0): array
3941
{

Diff for: composer.json

+2-2
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)