Skip to content

Commit

Permalink
Add PHP 8.2 support
Browse files Browse the repository at this point in the history
* Added PHP 8.2 support
* Dropped PHP 8.0 support
  • Loading branch information
Okipa authored Dec 16, 2022
1 parent 0dfdf11 commit b0446a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*'
Expand Down Expand Up @@ -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 }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^8.0|^8.1",
"php": "^8.1|^8.2",
"illuminate/contracts": "^8.0|^9.0"
},
"require-dev": {
Expand Down

0 comments on commit b0446a9

Please sign in to comment.