diff --git a/composer.json b/composer.json index e61d602b..91987fa8 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "nunomaduro/termwind": "^2.0.1", "pestphp/pest-plugin": "^3.0.0", "pestphp/pest-plugin-arch": "^3.0.0", - "phpunit/phpunit": "^11.2.0" + "phpunit/phpunit": "^11.2.1" }, "conflict": { "sebastian/exporter": "<6.0.0", diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index c85a540c..ce41ff6a 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -30,19 +30,19 @@ final class Laravel extends AbstractPreset $this->expectations[] = expect('App\Http\Requests') ->toHaveSuffix('Request') - ->toExtend('Illuminate\Foundation\Http\FormRequest') + ->toExtend('Illuminate\Foundation\Http\FormRequest') // @phpstan-ignore-line ->toHaveMethod('rules'); $this->expectations[] = expect('App\Console\Commands') ->toHaveSuffix('Command') - ->toExtend('Illuminate\Console\Command') + ->toExtend('Illuminate\Console\Command') // @phpstan-ignore-line ->toHaveMethod('handle'); $this->expectations[] = expect('App\Exceptions') ->toImplement('Throwable'); $this->expectations[] = expect('App\Mail') - ->toExtend('Illuminate\Mail\Mailable'); + ->toExtend('Illuminate\Mail\Mailable'); // @phpstan-ignore-line $this->expectations[] = expect('App\Jobs') ->toHaveMethod('handle'); @@ -51,11 +51,11 @@ final class Laravel extends AbstractPreset ->toHaveMethod('handle'); $this->expectations[] = expect('App\Notifications') - ->toExtend('Illuminate\Notifications\Notification'); + ->toExtend('Illuminate\Notifications\Notification'); // @phpstan-ignore-line - $this->expectations[] = expect('App\Providers') + $this->expectations[] = expect('App\Providers') // @phpstan-ignore-line ->toHaveSuffix('ServiceProvider') - ->toExtend('Illuminate\Support\ServiceProvider') + ->toExtend('Illuminate\Support\ServiceProvider') // @phpstan-ignore-line ->not->toBeUsed(); } } diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index f546c495..41894612 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -2,6 +2,7 @@ PASS Tests\Arch ✓ arch "base" preset ✓ arch "strict" preset + ✓ arch "security" preset ✓ globals ✓ dependencies ✓ contracts @@ -1469,4 +1470,4 @@ WARN Tests\Visual\Version - visual snapshot of help command output - Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 24 skipped, 1046 passed (2573 assertions) + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 24 skipped, 1049 passed (2577 assertions) \ No newline at end of file diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index bea67aea..6e25deef 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -16,7 +16,7 @@ $run = function () { test('parallel', function () use ($run) { expect($run('--exclude-group=integration')) - ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 1032 passed (2541 assertions)') + ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 1035 passed (2545 assertions)') ->toContain('Parallel: 3 processes'); })->skipOnWindows();