Skip to content

Commit 7eb62c1

Browse files
authored
Enable PHP 7.4 (#108)
1 parent 55b7929 commit 7eb62c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ php:
1111
- 7.1
1212
- 7.2
1313
- 7.3
14+
- 7.4
1415

1516
install:
1617
- travis_retry composer update --no-interaction --prefer-dist $DEPENDENCIES
@@ -19,7 +20,7 @@ script:
1920
- composer run-script check:composer
2021
- composer run-script check:lint
2122
- composer run-script check:cs
22-
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then composer run-script check:types; fi
23+
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]] || [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then composer run-script check:types; fi
2324
- composer run-script check:tests
2425

2526
after_script:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"jakub-onderka/php-console-highlighter": "0.4.0",
2525
"jakub-onderka/php-parallel-lint": "1.0.0",
2626
"php-coveralls/php-coveralls": "^2.1",
27-
"phpstan/phpstan": "^0.11.13",
27+
"phpstan/phpstan": "^0.11.19",
2828
"phpstan/phpstan-nette": "^0.11",
2929
"phpstan/phpstan-phpunit": "^0.11",
3030
"phpstan/phpstan-strict-rules": "^0.11",
3131
"phpunit/phpunit": "^7.5.6",
3232
"slevomat/coding-standard": "^5.0.4",
33-
"squizlabs/php_codesniffer": "~3.4.0"
33+
"squizlabs/php_codesniffer": "~3.5.2"
3434
},
3535
"autoload": {
3636
"psr-4": {

0 commit comments

Comments
 (0)