From 71e9473a55084811cef0598df95e376e4c7fe5cf Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Fri, 6 Dec 2024 10:17:25 +0100 Subject: [PATCH] Cleanup switch to PSR12 from PSR2 --- .php-cs-fixer.php | 2 +- Classes/Domain/Model/SysFileMetadata.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 2bcec5b..126a4a0 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -24,7 +24,7 @@ ->setCacheFile('.Build/.php_cs.cache') ->setFinder($finder) ->setRules([ - '@PSR2' => true, + '@PSR12' => true, '@Symfony' => true, 'header_comment' => ['header' => $header], ]) diff --git a/Classes/Domain/Model/SysFileMetadata.php b/Classes/Domain/Model/SysFileMetadata.php index a339ee6..16095f4 100644 --- a/Classes/Domain/Model/SysFileMetadata.php +++ b/Classes/Domain/Model/SysFileMetadata.php @@ -32,7 +32,7 @@ class SysFileMetadata extends AbstractEntity { /** - * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage + * @var ObjectStorage * * @TYPO3\CMS\Extbase\Annotation\ORM\Lazy */ @@ -51,7 +51,7 @@ public function initializeObject(): void } /** - * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage + * @return ObjectStorage */ public function getAltTextLogs(): ObjectStorage {