Skip to content

Commit

Permalink
Merge pull request #7 from visto9259/master
Browse files Browse the repository at this point in the history
Support for PHP8, phpunit 9 and psr-4 refactoring
  • Loading branch information
visto9259 authored Jun 9, 2021
2 parents b849188 + d79c9ee commit 452291f
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 4,759 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ tmp/
vendor/
build/
/.idea/
.phpunit*
.phpunit*
/composer.lock
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ matrix:
- php: 7.3
env:
- DEPS=latest
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- 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
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
},
"require": {
"php": "^7.3",
"php": "^7.3 | ^8.0",
"laminas/laminas-eventmanager": "^2.6.4 || ^3.2.1",
"laminas/laminas-http": "^2.10",
"laminas/laminas-mvc": "^2.7.15 || ^3.1.1",
Expand All @@ -45,17 +45,17 @@
"laminas/laminas-modulemanager": "^2.7.2",
"laminas/laminas-serializer": "^2.8",
"laminas/laminas-view": "^2.8.1",
"phpunit/phpunit": "^8.5.1",
"phpunit/phpunit": "^9.5.0",
"php-coveralls/php-coveralls": "^2.1",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-0": {
"psr-4": {
"LmcCors\\": "src/"
}
},
"autoload-dev": {
"psr-0": {
"psr-4": {
"LmcCorsTest\\": "tests/"
}
},
Expand Down
Loading

0 comments on commit 452291f

Please sign in to comment.