From 88404eb197f8be54d622a97dd688bb16f82cecc1 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Thu, 14 Aug 2025 13:47:43 +0200 Subject: [PATCH 1/2] [TASK] uri to string to fullfill phpstan rules --- Classes/Listener/ModifyClearCacheActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Listener/ModifyClearCacheActions.php b/Classes/Listener/ModifyClearCacheActions.php index 5f38852..41f047d 100644 --- a/Classes/Listener/ModifyClearCacheActions.php +++ b/Classes/Listener/ModifyClearCacheActions.php @@ -41,7 +41,7 @@ public function __invoke(ModifyClearCacheActionsEvent $event): void 'id' => 'clearProxyCache', 'title' => 'LLL:EXT:proxycachemanager/Resources/Private/Language/locallang.xlf:menuitem.title', 'description' => 'LLL:EXT:proxycachemanager/Resources/Private/Language/locallang.xlf:menuitem.description', - 'href' => $uriBuilder->buildUriFromRoute('ajax_proxy_flushcaches'), + 'href' => (string)$uriBuilder->buildUriFromRoute('ajax_proxy_flushcaches'), 'iconIdentifier' => 'actions-system-cache-clear-impact-medium', ]; $event->addCacheAction($item); From 191d358d240fc1cfb1c2ca10a0754cb5eff09730 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Thu, 14 Aug 2025 14:21:39 +0200 Subject: [PATCH 2/2] [TASK] do not run cs-fixer in v11 with outdated rules --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae5e8a4..a719463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: - name: Phpstan 13 if: matrix.TYPO3 == '13' run: .Build/bin/phpstan analyze -c Build/phpstan13.neon - - name: Phpcsfix + - name: Phpcsfix TYPO3 12 and 13 + if: matrix.TYPO3 != '11' run: .Build/bin/php-cs-fixer fix --config=Build/php-cs-fixer.php --dry-run --stop-on-violation --using-cache=no