diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index bb5937d..e21f78b 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -17,6 +17,7 @@ jobs: php: - "8.1" - "8.2" + - "8.3" steps: - name: Checkout diff --git a/.github/workflows/cs-tests.yml b/.github/workflows/cs-tests.yml index e4032b1..e8bbade 100644 --- a/.github/workflows/cs-tests.yml +++ b/.github/workflows/cs-tests.yml @@ -17,6 +17,7 @@ jobs: php: - "8.1" - "8.2" + - "8.3" steps: - name: Checkout diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 134ff5b..6f7452d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,6 +17,7 @@ jobs: php: - "8.1" - "8.2" + - "8.3" steps: - name: Checkout diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 593bed9..8f6f990 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -17,6 +17,7 @@ jobs: php: - "8.1" - "8.2" + - "8.3" steps: - name: Checkout diff --git a/README.md b/README.md index 7bc71b7..93cd84b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The RBAC model defines roles that can be assigned to users. The authorization is Each role can have one or multiple permissions/privileges assigned. When deciding if a user is authorized, the requested permission is checked in all user roles and if at least one role has that permission, access is granted. ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-rbac) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-rbac/3.5.1) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-rbac/3.5.2) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-rbac)](https://github.com/dotkernel/dot-rbac/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-rbac)](https://github.com/dotkernel/dot-rbac/network) diff --git a/composer.json b/composer.json index 2965d2c..bb3a146 100644 --- a/composer.json +++ b/composer.json @@ -22,11 +22,11 @@ } }, "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "laminas/laminas-servicemanager": "^3.11", - "dotkernel/dot-authorization": "^3.2", + "dotkernel/dot-authorization": "^3.4.1", "laminas/laminas-stdlib": "^3.7", - "laminas/laminas-authentication": "2.15.0" + "laminas/laminas-authentication": "2.16.0" }, "require-dev": { "phpunit/phpunit": "^10.2", diff --git a/src/Options/AuthorizationOptions.php b/src/Options/AuthorizationOptions.php index d40309f..e76d0d5 100644 --- a/src/Options/AuthorizationOptions.php +++ b/src/Options/AuthorizationOptions.php @@ -6,6 +6,10 @@ use Laminas\Stdlib\AbstractOptions; +/** + * @template TValue + * @template-extends AbstractOptions + */ class AuthorizationOptions extends AbstractOptions { protected string $guestRole = 'guest';