Skip to content

Commit eade4ce

Browse files
authored
BREAKING CHANGE: upgrade to PHP 8.0 and PHP-Casbin 4.0 (#25)
1 parent 05a3ce7 commit eade4ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: true
3838
matrix:
39-
php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ]
39+
php: [ 8.0, 8.1, 8.2, 8.3 ]
4040
stability: [ prefer-lowest, prefer-stable ]
4141

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

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Database adapter for php-casbin
22

3-
[![Build Status](https://travis-ci.org/php-casbin/database-adapter.svg?branch=master)](https://travis-ci.org/php-casbin/database-adapter)
3+
[![Build Status](https://github.com/php-casbin/database-adapter/actions/workflows/build.yml/badge.svg)](https://github.com/php-casbin/database-adapter/actions/workflows/build.yml)
44
[![Coverage Status](https://coveralls.io/repos/github/php-casbin/database-adapter/badge.svg)](https://coveralls.io/github/php-casbin/database-adapter)
55
[![Latest Stable Version](https://poser.pugx.org/casbin/database-adapter/v/stable)](https://packagist.org/packages/casbin/database-adapter)
66
[![Total Downloads](https://poser.pugx.org/casbin/database-adapter/downloads)](https://packagist.org/packages/casbin/database-adapter)

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
],
1111
"license": "Apache-2.0",
1212
"require": {
13-
"casbin/casbin": "^3.0",
13+
"casbin/casbin": "^4.0",
1414
"leeqvip/database": "^1.0"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "~7.0|~8.0|~9.0",
18-
"php-coveralls/php-coveralls": "^2.1"
17+
"phpunit/phpunit": "~9.0",
18+
"php-coveralls/php-coveralls": "^2.7"
1919
},
2020
"autoload": {
2121
"psr-4": {

0 commit comments

Comments
 (0)