diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 48de9b4..2e02480 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 }} diff --git a/composer.json b/composer.json index 8f656eb..131b445 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/FireableAttributes.php b/src/FireableAttributes.php index e6ac215..eea702a 100644 --- a/src/FireableAttributes.php +++ b/src/FireableAttributes.php @@ -2,8 +2,10 @@ namespace BinaryCats\FireableAttributeEvents; +use Illuminate\Database\Eloquent\Model; + /** - * @mixin \Illuminate\Database\Eloquent\Model + * @mixin Model */ trait FireableAttributes {