diff --git a/Classes/DataProcessing/DatabaseQueryProcessor.php b/Classes/DataProcessing/DatabaseQueryProcessor.php index 7bc1cd64..fead8a87 100644 --- a/Classes/DataProcessing/DatabaseQueryProcessor.php +++ b/Classes/DataProcessing/DatabaseQueryProcessor.php @@ -79,7 +79,7 @@ public function __construct(ContentDataProcessor $contentDataProcessor = null, T */ public function process(ContentObjectRenderer $cObj, array $contentObjectConfiguration, array $processorConfiguration, array $processedData): array { - if (isset($processorConfiguration['if.']) && ! $cObj->checkIf($processorConfiguration['if.'])) { + if (isset($processorConfiguration['if.']) && !$cObj->checkIf($processorConfiguration['if.'])) { return $processedData; } diff --git a/Classes/DataProcessing/GalleryProcessor.php b/Classes/DataProcessing/GalleryProcessor.php index 6d517d1a..33732ed4 100644 --- a/Classes/DataProcessing/GalleryProcessor.php +++ b/Classes/DataProcessing/GalleryProcessor.php @@ -109,7 +109,7 @@ protected function calculateMediaWidthsAndHeights() // Recalculate gallery width $this->galleryData['width'] = floor($maximumRowWidth / $mediaScalingCorrection); - // User entered a predefined width + // User entered a predefined width } elseif ($this->equalMediaWidth) { $mediaScalingCorrection = 1; @@ -133,7 +133,7 @@ protected function calculateMediaWidthsAndHeights() // Recalculate gallery width $this->galleryData['width'] = floor($totalRowWidth / $mediaScalingCorrection); - // Automatic setting of width and height + // Automatic setting of width and height } else { $maxMediaWidth = (int)($galleryWidthMinusBorderAndSpacing / $this->galleryData['count']['columns']); foreach ($this->fileObjects as $key => $fileObject) { diff --git a/Classes/ViewHelpers/LoginFormViewHelper.php b/Classes/ViewHelpers/LoginFormViewHelper.php index e8d7b95a..48e7281e 100644 --- a/Classes/ViewHelpers/LoginFormViewHelper.php +++ b/Classes/ViewHelpers/LoginFormViewHelper.php @@ -263,7 +263,7 @@ protected function renderRequestTokenHiddenField(): string // basically "request token, yes" - uses form-action URI as scope if ($isTrulyRequestToken || $requestToken === '@nonce') { $requestToken = RequestToken::create($formAction); - // basically "request token with 'my-scope'" - uses 'my-scope' + // basically "request token with 'my-scope'" - uses 'my-scope' } elseif (is_string($requestToken) && $requestToken !== '') { $requestToken = RequestToken::create($requestToken); } diff --git a/composer.json b/composer.json index 83df2a32..b32896d5 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,7 @@ "require": { "ext-json": "*", "typo3/cms-core": "^12.4", - "typo3/cms-install": "^12.4", - "typo3/coding-standards": "dev-main" + "typo3/cms-install": "^12.4" }, "require-dev": { "ergebnis/composer-normalize": "^2.15.0", @@ -46,7 +45,8 @@ "seld/jsonlint": "^1.8", "symfony/yaml": "^6.1", "typo3/cms-form": "^12.4", - "typo3/testing-framework": "^7.0" + "typo3/testing-framework": "^7.0", + "typo3/coding-standards": "^0.7.1" }, "conflict": { "typo3/cms-core": "<12.4.3"