Skip to content

Commit

Permalink
[CLEANUP] CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mabolek committed Sep 4, 2023
1 parent 3c9c03f commit 0facad1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function getUserId(): int
*
* @param ServerRequestInterface $request
* @return array
* @throws UnauthorizedAccessException
* @throws InvalidArgumentException
*/
protected function internalGetLoginFormData(ServerRequestInterface $request)
Expand Down Expand Up @@ -88,11 +89,11 @@ protected function internalGetLoginFormData(ServerRequestInterface $request)
];

if (CompatibilityUtility::typo3VersionIsLessThan('12.0')) {
// @phpstan-ignore
// @phpstan-ignore-next-line
return $this->processLoginData($loginData);

Check failure on line 93 in Classes/Authentication/AbstractHttpBackendUserAuthentication.php

View workflow job for this annotation

GitHub Actions / Code quality checks (php:stan, 7.4)

No error to ignore is reported on line 93.
}

// @phpstan-ignore
// @phpstan-ignore-next-line
return $this->processLoginData($loginData, $request);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class HttpBackendUserAuthenticationForTypo3v12 extends AbstractHttpBackendUserAu
*
* @param ServerRequestInterface $request
* @return array
* @phpstan-ignore-next-line
*/
public function getLoginFormData(ServerRequestInterface $request)

Check failure on line 18 in Classes/Authentication/HttpBackendUserAuthenticationForTypo3v12.php

View workflow job for this annotation

GitHub Actions / Code quality checks (php:stan, 7.4)

No error to ignore is reported on line 18.

Check failure on line 18 in Classes/Authentication/HttpBackendUserAuthenticationForTypo3v12.php

View workflow job for this annotation

GitHub Actions / Code quality checks (php:stan, 7.4)

Parameter #1 $request of method Pixelant\Interest\Authentication\HttpBackendUserAuthenticationForTypo3v12::getLoginFormData() is not optional.
{
Expand Down
1 change: 0 additions & 1 deletion Classes/RequestHandler/AuthenticateRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Pixelant\Interest\RequestHandler;

use Pixelant\Interest\Domain\Repository\TokenRepository;
use Pixelant\Interest\RequestHandler\Exception\InvalidArgumentException;
use Pixelant\Interest\RequestHandler\Exception\UnauthorizedAccessException;
use Psr\Http\Message\ResponseInterface;
use TYPO3\CMS\Core\Http\JsonResponse;
Expand Down

0 comments on commit 0facad1

Please sign in to comment.