Skip to content

Commit

Permalink
Merge pull request #71 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
Sébastien Nikolaou authored Mar 12, 2024
2 parents 41115e5 + 82d30b8 commit 9d4b37f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Tests

on: [push, pull_request]
on:
- push
- pull_request

jobs:
tests:
Expand All @@ -10,7 +12,7 @@ jobs:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0, 7.4, 7.3, 7.2]
laravel: [^10.0, ^9.0, ^8.0, ^7.0]
laravel: [^11.0, ^10.0, ^9.0, ^8.0, ^7.0]
include:
- laravel: ^7.0
testbench: ^5.0
Expand All @@ -24,7 +26,20 @@ jobs:
- laravel: ^10.0
testbench: ^8.0
phpunit: ^9.5
- laravel: ^11.0
testbench: ^9.0
phpunit: ^10.5
exclude:
- laravel: ^11.0
php: 8.1
- laravel: ^11.0
php: 8.0
- laravel: ^11.0
php: 7.4
- laravel: ^11.0
php: 7.3
- laravel: ^11.0
php: 7.2
- laravel: ^10.0
php: 8.0
- laravel: ^10.0
Expand Down Expand Up @@ -79,12 +94,12 @@ jobs:
- name: Install dependencies
run: |
composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
composer update --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit --verbose --whitelist=src --coverage-clover=build/coverage/coverage.clover
run: vendor/bin/phpunit --coverage-clover=build/coverage/coverage.clover

- name: Upload Scrutinizer coverage
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover build/coverage/coverage.clover"
cli-args: --format=php-clover build/coverage/coverage.clover
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All Notable changes to `laravel-state-machine` will be documented in this file
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v3.4.4] - 2024-03-12

### Added

- Laravel 11.x Compatibility ([#71](https://github.com/sebdesign/laravel-state-machine/pull/71))

## [v3.4.3] - 2024-01-30

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
],
"require": {
"php": "^7.2.5 | ^8.0",
"illuminate/support": "^7.0 | ^8.0 | ^9.0 | ^10.0",
"illuminate/support": "^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0",
"winzou/state-machine": "^0.4.2|^0.4"
},
"require-dev": {
"mockery/mockery": "^1.3.1",
"orchestra/testbench": "^5.0 | ^6.0 | ^7.0 | ^8.0",
"phpunit/phpunit": "^8.5 | ^9.3",
"symfony/process": "^4.3 | ^5.0 | ^6.0"
"orchestra/testbench": "^5.0 | ^6.0 | ^7.0 | ^8.0 | ^9.0",
"phpunit/phpunit": "^8.5 | ^9.3 | ^10.5",
"symfony/process": "^4.3 | ^5.0 | ^6.0 | ^7.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 9d4b37f

Please sign in to comment.