Skip to content

Commit

Permalink
Fixes CS
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Aug 12, 2024
1 parent 184ae17 commit 380d00f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/Interfaces/Http/Controller/Auth/LoginAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Spiral\Http\Exception\ClientException\UnauthorizedException;
use Spiral\Http\ResponseWrapper;
use Spiral\Router\Annotation\Route;
use Spiral\Session\SessionScope;

final readonly class LoginAction
{
Expand All @@ -27,7 +26,6 @@ public function __invoke(
AuthScope $authScope,
TokenStorageInterface $tokens,
SuccessRedirect $successRedirect,
SessionScope $session,
): ResponseInterface {
if (!$auth->isAuthenticated()) {
$url = $auth->getLoginUrl();
Expand Down
6 changes: 6 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
RemoveUnusedVariableInCatchRector::class,
ClosureToArrowFunctionRector::class,
])
->withSkip([
\Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPublicMethodParameterRector::class => [
__DIR__ . '/app/modules/Projects/Interfaces/Queries/FindProjectsHandler.php',
__DIR__ . '/app/modules/Webhooks/Interfaces/Query/FindWebhooksHandler.php',
],
])
->withPhpVersion(PhpVersion::PHP_82)
// here we can define, what prepared sets of rules will be applied
->withPreparedSets(
Expand Down

0 comments on commit 380d00f

Please sign in to comment.