From a514423e1f00eb5dd5236d55774efce71cb8f395 Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Mon, 25 Nov 2024 09:05:55 +0100 Subject: [PATCH] Cleanup fix cs and qs --- .gitignore | 1 + Classes/Domain/Model/SysFileMetadata.php | 4 ++-- composer.json | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f29abb9..2e840e1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.development/node_modules /captainhook.config.json /composer.lock +/.phpunit.result.cache 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 { diff --git a/composer.json b/composer.json index 814c878..6d1f56f 100644 --- a/composer.json +++ b/composer.json @@ -83,9 +83,9 @@ "[ -L .Build/Web/typo3conf/ext/mkcontentai ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/mkcontentai", "[ -e .Build/bin/captainhook ] && .Build/bin/captainhook install -f -s || echo 'CaptainHook missing, skip install.'" ], - "pre-qs": "[ -e .Build/bin/phpcs ] || composer update", - "runqs": [ - "@pre-qs", + "pre-qa": "[ -e .Build/bin/phpcs ] || composer update", + "runqa": [ + "@pre-qa", "@fix", "@lint", "@test" @@ -161,7 +161,7 @@ ".Build/bin/php-cs-fixer fix -v" ], "fix": [ - "@pre-qs", + "@pre-qa", "@fix:phpcs" ] }