Skip to content

Commit

Permalink
Added support for PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
visto9259 committed Jun 26, 2021
1 parent a8d74e7 commit 0f836cd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ matrix:
- DEPS=latest
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 8.0
env:
- DEPS=lowest
- php: 8.0
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"laminas/laminas-config": "^3.1",
"laminas/laminas-eventmanager": "^3.0",
"laminas/laminas-mvc": "^3.0",
Expand All @@ -46,7 +46,6 @@
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5.5",
"php-coveralls/php-coveralls": "^2.2",
"doctrine/doctrine-orm-module": "^4.0",
"phpspec/prophecy-phpunit": "^2.0"
},
"suggest": {
Expand Down
2 changes: 2 additions & 0 deletions tests/TestConfiguration.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ return [
'modules' => [
'Laminas\Router',
'LmcRbacMvc',
/*
'DoctrineModule',
'DoctrineORMModule',
*/
],
'module_listener_options' => [
'config_glob_paths' => [
Expand Down
3 changes: 2 additions & 1 deletion tests/testing.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

return [
'lmc_rbac' => [],

/*
'doctrine' => [
'driver' => [
'application_driver' => [
Expand Down Expand Up @@ -49,4 +49,5 @@
],
],
],
*/
];

0 comments on commit 0f836cd

Please sign in to comment.