diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a74131b..6ea45b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,9 +12,11 @@ jobs: strategy: matrix: php-versions: + - 8.5 + - 8.4 + - 8.3 - 8.2 - 8.1 - - 8.0 name: PHP ${{ matrix.php-versions }} steps: diff --git a/composer.json b/composer.json index 1670246..cc6b7ae 100644 --- a/composer.json +++ b/composer.json @@ -28,11 +28,11 @@ }, "config": { "platform": { - "php": "8.0" + "php": "8.1" } }, "require": { - "php": "^8.0", + "php": "^8.1", "ext-json": "*" }, "require-dev": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 1c52932..1ff9017 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,6 +1,5 @@ parameters: level: max - checkGenericClassInNonGenericObjectType: false paths: - src ignoreErrors: diff --git a/src/BinaryFlags.php b/src/BinaryFlags.php index c937d79..cf03eee 100644 --- a/src/BinaryFlags.php +++ b/src/BinaryFlags.php @@ -11,6 +11,8 @@ * This class holds useful methods for checking, adding or removing binary flags * * @author Reinder + * + * @implements Iterator */ abstract class BinaryFlags implements Iterator, Countable, JsonSerializable {