Skip to content

Commit 82b9202

Browse files
authored
Merge pull request #17 from Jeckel-Lab/feature/enable-php8-compatibility
Upgrade deps to php 8.0
2 parents f58a225 + dc4f819 commit 82b9202

2 files changed

Lines changed: 17 additions & 11 deletions

File tree

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,23 @@ php:
33
- '7.2'
44
- '7.3'
55
- '7.4'
6+
- '8.0'
7+
8+
cache:
9+
directories:
10+
- $HOME/.composer/cache/files
11+
12+
matrix:
13+
fast_finish: true
14+
include:
15+
- php: 7.2
16+
env: COMPOSER_FLAGS="--prefer-lowest"
617

718
before_script:
819
- travis_retry composer self-update
9-
- travis_retry composer install --no-interaction --prefer-source --dev
20+
- travis_retry composer update $COMPOSER_FLAGS --no-interaction --prefer-dist --dev
1021

1122
script:
12-
# - ./vendor/bin/phpunit --coverage-clover=coverage.xml
1323
- ./vendor/bin/phpmd src text ./ruleset.xml
1424
- ./vendor/bin/phpcs
15-
# - ./vendor/bin/phpstan analyse
1625
- ./vendor/bin/psalm
17-
18-
#after_success:
19-
# - bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"description": "Command Dispatcher as a symfony bundle",
44
"type": "symfony-bundle",
55
"require": {
6-
"php": "^7.2",
6+
"php": "^7.2 || ^8.0",
77
"symfony/dependency-injection": "^4.3 || ^5.0",
88
"symfony/http-kernel": "^4.3 || ^5.1.5",
9-
"jeckel-lab/command-dispatcher": "^0.3",
9+
"jeckel-lab/command-dispatcher": "^0.4",
1010
"symfony/config": "^4.3 || ^5.0",
1111
"symfony/doctrine-bridge": "^4.3 || ^5.0",
1212
"doctrine/orm": "^2.7"
1313
}
1414
,
1515
"require-dev": {
1616
"roave/security-advisories": "dev-master",
17-
"vimeo/psalm": "^4.1",
18-
"phpmd/phpmd": "^2.8",
17+
"vimeo/psalm": "^4.3.1",
18+
"phpmd/phpmd": "^2.9",
1919
"squizlabs/php_codesniffer": "^3.5",
20-
"phpro/grumphp": "^0.19.0"
20+
"phpro/grumphp": "^0.19 || ^1.2.0"
2121
},
2222
"license": "MIT",
2323
"authors": [

0 commit comments

Comments
 (0)