Skip to content
Merged
13 changes: 11 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,21 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.4, 8.3, 8.2]
laravel: [11.*]
stability: [prefer-lowest, prefer-stable]
laravel: [11.*, 12.*, 13.*]
stability: [prefer-stable]
exclude:
- laravel: 13.*
php: 8.2
include:
- laravel: 11.*
testbench: 9.*
carbon: ^2.63
- laravel: 12.*
testbench: 10.*
carbon: ^3.0
- laravel: 13.*
testbench: 11.*
carbon: ^3.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
"require": {
"php": "^8.2",
"spatie/laravel-package-tools": "^1.16",
"illuminate/contracts": "^11.0|^12.0"
"illuminate/contracts": "^11.0|^12.0|^13.0"
},
"require-dev": {
"laravel/pint": "^1.14",
"nunomaduro/collision": "^8.1.1",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^9.0|^10.0",
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-arch": "^3.0",
"pestphp/pest-plugin-laravel": "^2.0||^3.0",
"larastan/larastan": "^2.9|^3.0",
"orchestra/testbench": "^9.0|^10.0|^11.0",
"pestphp/pest": "^3.0|^4.0",
"pestphp/pest-plugin-arch": "^3.0|^4.0|^5.0",
"pestphp/pest-plugin-laravel": "^2.0|^3.0|^4.0|^5.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3"
"phpstan/phpstan-deprecation-rules": "^1.1|^2.0",
"phpstan/phpstan-phpunit": "^1.3|^2.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 3 additions & 1 deletion src/FireableAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

namespace BinaryCats\FireableAttributeEvents;

use Illuminate\Database\Eloquent\Model;

/**
* @mixin \Illuminate\Database\Eloquent\Model
* @mixin Model
*/
trait FireableAttributes
{
Expand Down