Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP 8.2 support #9

Merged
merged 1 commit into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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