diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c12be6..b2669a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: strategy: fail-fast: true matrix: - php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ] + php: [ 8.0, 8.1, 8.2, 8.3 ] stability: [ prefer-lowest, prefer-stable ] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} diff --git a/README.md b/README.md index 0f263d3..6e4dad5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Database adapter for php-casbin -[![Build Status](https://travis-ci.org/php-casbin/database-adapter.svg?branch=master)](https://travis-ci.org/php-casbin/database-adapter) +[![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) [![Coverage Status](https://coveralls.io/repos/github/php-casbin/database-adapter/badge.svg)](https://coveralls.io/github/php-casbin/database-adapter) [![Latest Stable Version](https://poser.pugx.org/casbin/database-adapter/v/stable)](https://packagist.org/packages/casbin/database-adapter) [![Total Downloads](https://poser.pugx.org/casbin/database-adapter/downloads)](https://packagist.org/packages/casbin/database-adapter) diff --git a/composer.json b/composer.json index d724e11..b6420a5 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ ], "license": "Apache-2.0", "require": { - "casbin/casbin": "^3.0", + "casbin/casbin": "^4.0", "leeqvip/database": "^1.0" }, "require-dev": { - "phpunit/phpunit": "~7.0|~8.0|~9.0", - "php-coveralls/php-coveralls": "^2.1" + "phpunit/phpunit": "~9.0", + "php-coveralls/php-coveralls": "^2.7" }, "autoload": { "psr-4": {