Remove no longer used annotation use statements and replace with attribute use statements

This commit is contained in:
2025-10-01 18:38:41 +02:00
parent d8528dceab
commit 32d2bb002b
486 changed files with 495 additions and 1063 deletions

View File

@@ -11,7 +11,6 @@ declare(strict_types=1);
namespace Chill\DocStoreBundle\Security\Authenticator;
use Chill\DocStoreBundle\Security\Authenticator\DavOnUrlTokenExtractor;
use Lexik\Bundle\JWTAuthenticationBundle\Exception\InvalidTokenException;
use Lexik\Bundle\JWTAuthenticationBundle\Exception\JWTDecodeFailureException;
use Lexik\Bundle\JWTAuthenticationBundle\Exception\MissingTokenException;
@@ -33,8 +32,7 @@ class JWTOnDavUrlAuthenticator extends AbstractAuthenticator
public function __construct(
private readonly JWTTokenManagerInterface $jwtManager,
private readonly DavOnUrlTokenExtractor $davOnUrlTokenExtractor,
) {
}
) {}
public function supports(Request $request): ?bool
{

View File

@@ -78,8 +78,6 @@ class PersonDocumentVoter extends AbstractChillVoter implements ProvideRoleHiera
/**
* @param string $attribute
* @param PersonDocument $subject
*
* @return bool
*/
protected function voteOnAttribute($attribute, $subject, TokenInterface $token): bool
{