diff --git a/composer.json b/composer.json index 1f639e6..0b9f0ef 100644 --- a/composer.json +++ b/composer.json @@ -11,17 +11,17 @@ "require": { "php": "^8.4.0", "inertiajs/inertia-laravel": "^2.0.10", - "laravel/fortify": "^1.31.1", - "laravel/framework": "^12.33", + "laravel/fortify": "^1.31.2", + "laravel/framework": "^12.35.1", "laravel/tinker": "^2.10.1", "laravel/wayfinder": "^0.1.12", "nunomaduro/essentials": "^1.0.1" }, "require-dev": { - "driftingly/rector-laravel": "^2.0.7", + "driftingly/rector-laravel": "^2.1.1", "fakerphp/faker": "^1.24.1", "larastan/larastan": "^3.7.2", - "laravel/boost": "^1.3.0", + "laravel/boost": "^1.5.0", "laravel/pail": "^1.2.3", "laravel/pint": "^1.25.1", "mockery/mockery": "^1.6.12", @@ -30,7 +30,7 @@ "pestphp/pest-plugin-browser": "^4.1.1", "pestphp/pest-plugin-laravel": "^4.0.0", "pestphp/pest-plugin-type-coverage": "^4.0.2", - "rector/rector": "^2.2.2", + "rector/rector": "^2.2.5", "roave/security-advisories": "dev-latest" }, "autoload": { diff --git a/rector.php b/rector.php index 57c0127..071fef4 100644 --- a/rector.php +++ b/rector.php @@ -3,6 +3,8 @@ declare(strict_types=1); use Rector\Caching\ValueObject\Storage\FileCacheStorage; +use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector; +use Rector\CodingStyle\Rector\Use_\SeparateMultiUseImportsRector; use Rector\Config\RectorConfig; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; use RectorLaravel\Set\LaravelSetList; @@ -38,6 +40,8 @@ ]) ->withSkip([ AddOverrideAttributeToOverriddenMethodsRector::class, + SeparateMultiUseImportsRector::class, + MakeInheritedMethodVisibilitySameAsParentRector::class, ]) ->withPreparedSets( deadCode: true, @@ -45,6 +49,6 @@ typeDeclarations: true, privatization: true, earlyReturn: true, - strictBooleans: true, + codingStyle: true, ) ->withPhpSets(); diff --git a/tests/Unit/Actions/CreateUserEmailResetNotificationTest.php b/tests/Unit/Actions/CreateUserEmailResetNotificationTest.php index a55e54d..f95264d 100644 --- a/tests/Unit/Actions/CreateUserEmailResetNotificationTest.php +++ b/tests/Unit/Actions/CreateUserEmailResetNotificationTest.php @@ -33,6 +33,7 @@ // Send multiple reset requests to trigger throttling $action->handle(['email' => $user->email]); + $status = $action->handle(['email' => $user->email]); expect($status)->toBe(Password::RESET_THROTTLED);