Skip to content

Commit 62cc918

Browse files
committed
BREAKING CHANGE: upgrade to PHP 8.0 and PHP-Casbin 4.0
1 parent 0408d3d commit 62cc918

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: true
2121
matrix:
22-
php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ]
22+
php: [ 8.0, 8.1, 8.2, 8.3 ]
2323
stability: [ prefer-lowest, prefer-stable ]
2424

2525
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
],
1919
"license": "Apache-2.0",
2020
"require": {
21-
"casbin/casbin": "^3.0",
22-
"doctrine/dbal": "^2.9|^3.0|^4.0"
21+
"php": ">=8.0",
22+
"casbin/casbin": "^4.0",
23+
"doctrine/dbal": "^3.9|^4.0"
2324
},
2425
"require-dev": {
25-
"phpunit/phpunit": "~7.0|~8.0",
26-
"php-coveralls/php-coveralls": "^2.1"
26+
"phpunit/phpunit": "~9.0",
27+
"php-coveralls/php-coveralls": "^2.7"
2728
},
2829
"autoload": {
2930
"psr-4": {

0 commit comments

Comments
 (0)