diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4c40ca..1e83030 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.1', '8.0'] + php: ['8.2', '8.1'] laravel: ['9.*', '8.*'] include: - laravel: '9.*' @@ -51,26 +51,26 @@ jobs: # Lower PHP and laravel versions. - name: PHPUnit without code coverage - if: matrix.php != '8.1' || matrix.laravel != '9.*' + if: matrix.php != '8.2' || matrix.laravel != '9.*' run: vendor/bin/testbench package:test --parallel --no-coverage # Last PHP and laravel versions. - name: Code analysis - if: matrix.php == '8.1' && matrix.laravel == '9.*' + if: matrix.php == '8.2' && matrix.laravel == '9.*' run: | vendor/bin/pint --test -vvv vendor/bin/phpmd config,src,tests text phpmd.xml vendor/bin/phpstan analyse - name: PHPUnit with code coverage - if: matrix.php == '8.1' && matrix.laravel == '9.*' + if: matrix.php == '8.2' && matrix.laravel == '9.*' run: | mkdir -p build/logs vendor/bin/testbench package:test --parallel --coverage-text --coverage-clover build/logs/clover.xml - name: Code coverage upload to Coveralls - if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.1' && matrix.laravel == '9.*' + if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '9.*' env: COVERALLS_RUN_LOCALLY: 1 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 72faecc..281914a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.3.0](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/2.2.2...2.3.0) + +2022-12-16 + +* Added PHP 8.2 support +* Dropped PHP 8.0 support + ## [2.2.2](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/2.2.1...2.2.2) 2022-10-27 diff --git a/composer.json b/composer.json index e19b513..ea2166f 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ } ], "require": { - "php": "^8.0|^8.1", + "php": "^8.1|^8.2", "illuminate/contracts": "^8.0|^9.0" }, "require-dev": {