Skip to content

Commit

Permalink
Merge pull request #26 from visto9259/master
Browse files Browse the repository at this point in the history
Drop PHP 7.3 support - added testing for PHP 8.1
  • Loading branch information
visto9259 authored Jun 23, 2022
2 parents df3b5d5 + 6985f51 commit 8d245e3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ env:
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.4
env:
- DEPS=lowest
- php: 7.3
- php: 7.4
env:
- DEPS=latest
- php: 7.4
- php: 8.0
env:
- DEPS=lowest
- php: 7.4
- php: 8.0
env:
- DEPS=latest
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 8.0
- php: 8.1
env:
- DEPS=lowest
- php: 8.0
- php: 8.1
env:
- DEPS=latest

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"php": "^7.4 || ^8.0",
"laminas/laminas-config": "^3.1",
"laminas/laminas-eventmanager": "^3.0",
"laminas/laminas-mvc": "^3.0",
Expand All @@ -43,10 +43,11 @@
"laminas/laminas-i18n": "^2.7",
"laminas/laminas-serializer": "^2.2",
"laminas/laminas-view": "^2.12",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "9.5.21",
"squizlabs/php_codesniffer": "^3.5.5",
"php-coveralls/php-coveralls": "^2.2",
"phpspec/prophecy-phpunit": "^2.0"
"phpspec/prophecy-phpunit": "^2.0",
"doctrine/doctrine-orm-module": "^4.1"
},
"suggest": {
"laminas/laminas-developer-tools": "if you want to show information about the roles",
Expand Down
2 changes: 0 additions & 2 deletions tests/TestConfiguration.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ return [
'modules' => [
'Laminas\Router',
'LmcRbacMvc',
/*
'DoctrineModule',
'DoctrineORMModule',
*/
],
'module_listener_options' => [
'config_glob_paths' => [
Expand Down
4 changes: 1 addition & 3 deletions tests/testing.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

return [
'lmc_rbac' => [],
/*
'doctrine' => [
'driver' => [
'application_driver' => [
Expand All @@ -35,7 +34,7 @@

'connection' => [
'orm_default' => [
'driverClass' => 'Doctrine\DBAL\Driver\PDOSqlite\Driver',
'driverClass' => 'Doctrine\DBAL\Driver\PDO\SQLite\Driver',
'params' => [
'host' => null,
'port' => null,
Expand All @@ -49,5 +48,4 @@
],
],
],
*/
];

0 comments on commit 8d245e3

Please sign in to comment.