Skip to content

Commit

Permalink
Merge pull request #17 from Jeckel-Lab/feature/enable-php8-compatibility
Browse files Browse the repository at this point in the history
Upgrade deps to php 8.0
  • Loading branch information
jeckel committed Dec 11, 2020
2 parents f58a225 + dc4f819 commit 82b9202
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@ php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'

cache:
directories:
- $HOME/.composer/cache/files

matrix:
fast_finish: true
include:
- php: 7.2
env: COMPOSER_FLAGS="--prefer-lowest"

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
- travis_retry composer update $COMPOSER_FLAGS --no-interaction --prefer-dist --dev

script:
# - ./vendor/bin/phpunit --coverage-clover=coverage.xml
- ./vendor/bin/phpmd src text ./ruleset.xml
- ./vendor/bin/phpcs
# - ./vendor/bin/phpstan analyse
- ./vendor/bin/psalm

#after_success:
# - bash <(curl -s https://codecov.io/bash)
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"description": "Command Dispatcher as a symfony bundle",
"type": "symfony-bundle",
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"symfony/dependency-injection": "^4.3 || ^5.0",
"symfony/http-kernel": "^4.3 || ^5.1.5",
"jeckel-lab/command-dispatcher": "^0.3",
"jeckel-lab/command-dispatcher": "^0.4",
"symfony/config": "^4.3 || ^5.0",
"symfony/doctrine-bridge": "^4.3 || ^5.0",
"doctrine/orm": "^2.7"
}
,
"require-dev": {
"roave/security-advisories": "dev-master",
"vimeo/psalm": "^4.1",
"phpmd/phpmd": "^2.8",
"vimeo/psalm": "^4.3.1",
"phpmd/phpmd": "^2.9",
"squizlabs/php_codesniffer": "^3.5",
"phpro/grumphp": "^0.19.0"
"phpro/grumphp": "^0.19 || ^1.2.0"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 82b9202

Please sign in to comment.