Skip to content

Commit

Permalink
[BUGFIX] Bring back cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski committed Oct 30, 2023
1 parent f09b2e8 commit 69a85fb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Classes/DataProcessing/DatabaseQueryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions Classes/DataProcessing/GalleryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/LoginFormViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down

0 comments on commit 69a85fb

Please sign in to comment.