Skip to content

Commit

Permalink
Support for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
visto9259 committed Jun 23, 2021
1 parent 6162412 commit 1c418da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -26,7 +26,12 @@ matrix:
- php: 7.4
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"

- php: 8.0
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 8.0
env:
- DEPENDENCIES=""
before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0; fi

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -35,7 +35,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"laminas/laminas-servicemanager": "^3.3",
"laminas/laminas-stdlib": "^3.1",
"doctrine/persistence": "^2.0"
Expand All @@ -45,7 +45,7 @@
"phpunit/phpunit": "^9.5.0",
"phpspec/prophecy": "^1.10",
"friendsofphp/php-cs-fixer": "^2.9.3",
"doctrine/doctrine-orm-module": "^3.1",

"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
Expand Down

0 comments on commit 1c418da

Please sign in to comment.