diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05a55dce..f5da0b67 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,8 +9,11 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: ['7.3', '7.4', '8.0'] + php: [7.3, 7.4, 8.0, 8.1] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - php: 8.1 + dependency-version: prefer-lowest name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c9ee99ba..8cfde373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/BenSampo/laravel-enum/compare/v4.0.0...master) +### Added + +- Allow package to be installed with PHP 8.1 + +### Changed + +- Allow `laminas/laminas-code:^4.0` as a dependency + ## [4.0.0](https://github.com/BenSampo/laravel-enum/compare/v3.4.2...v4.0.0) - 2021-11-09 ### Fixed diff --git a/composer.json b/composer.json index 7fccb501..7f3b3680 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "hanneskod/classtools": "^1.2", "illuminate/contracts": "^8.0", "illuminate/support": "^8.0", - "laminas/laminas-code": "^3.4", + "laminas/laminas-code": "^3.4|^4.0", "nikic/php-parser": "^4.10" }, "require-dev": {