diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6850529..0663f16 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,12 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2,8.3] - laravel: [11.*] + php: [8.2,8.3,8.4] + laravel: [12.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 11.* - testbench: 9.* + - laravel: 12.* + testbench: 10.* carbon: ^3 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 653cc3a..4b6280b 100644 --- a/composer.json +++ b/composer.json @@ -16,15 +16,15 @@ } ], "require": { - "php": "^8.2|^8.3", + "php": "^8.2|^8.3|^8.4", "spatie/laravel-package-tools": "^1.14.0", - "laravel/framework": "^11.0" + "laravel/framework": "^12.0" }, "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^8.0", - "nunomaduro/larastan": "^v3", - "orchestra/testbench": "^9", + "larastan/larastan": "^v3", + "orchestra/testbench": "^10", "pestphp/pest": "^3.0", "pestphp/pest-plugin-arch": "^3.0", "pestphp/pest-plugin-laravel": "^3.0", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 5d3a2b7..237f944 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,5 +10,5 @@ parameters: tmpDir: build/phpstan checkOctaneCompatibility: true checkModelProperties: true - checkMissingIterableValueType: false + diff --git a/src/ArFlowServiceProvider.php b/src/ArFlowServiceProvider.php index f76dd67..d6efff6 100644 --- a/src/ArFlowServiceProvider.php +++ b/src/ArFlowServiceProvider.php @@ -46,7 +46,7 @@ public function configurePackage(Package $package): void ->name('arflow') ->hasConfigFile('arflow') ->hasViews() - //->hasMigration('create_arflow_history_table') + // ->hasMigration('create_arflow_history_table') ->hasCommand(ArFlowCommand::class); } diff --git a/tests/PackageTest.php b/tests/PackageTest.php index 281d5fd..9c46e89 100644 --- a/tests/PackageTest.php +++ b/tests/PackageTest.php @@ -27,8 +27,8 @@ beforeEach(function () { Artisan::call('migrate:fresh'); - //include_once __DIR__.'/../database/migrations/create_arflow_history_table.php'; - //(new create_arflow_history_table)->up(); + // include_once __DIR__.'/../database/migrations/create_arflow_history_table.php'; + // (new create_arflow_history_table)->up(); Config::set( [