Skip to content

Commit

Permalink
[TASK] Apply cgl to get green baseline again
Browse files Browse the repository at this point in the history
php-cs-fixer changed some things and due to the
fact that newer versions are pulled automaticlly,
this breaks cgl validation from time to time.

This change executed the cgl over all files to
get a green baseline again.

Used command(s):

```terminal
Build/Scripts/runTests.sh -s composerUpdate ; \
  Build/Scripts/runTests.sh -s cgl
```
  • Loading branch information
sbuerk committed Jan 6, 2024
1 parent 5d2515e commit 1953af6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function generate(array $data): string
if (!isset($containerElementArray['el']) || !is_array($containerElementArray['el'])) {
continue;
}
$containerCounter ++;
$containerCounter++;
foreach ($containerElementArray['el'] as $containerSingleElementName => $containerSingleElementArray) {
$aFlexFieldData['fieldName'] = $containerSingleElementName;
$aFlexFieldData['fieldConfig'] = $containerSingleElementArray;
Expand Down
2 changes: 1 addition & 1 deletion Classes/TcaDataGenerator/TableHandler/InlineMn.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function handle(string $tableName): void
$numberOfChildRelationsToCreate = 2;
$numberOfChildRows = 4;
$connectionPool = GeneralUtility::makeInstance(ConnectionPool::class);
for ($i = 0; $i < $numberOfChildRows; $i ++) {
for ($i = 0; $i < $numberOfChildRows; $i++) {
$fieldValues = [
'pid' => $pidOfMainTable,
'tstamp' => $context->getAspect('date')->get('timestamp'),
Expand Down
2 changes: 1 addition & 1 deletion Classes/TcaDataGenerator/TableHandler/InlineMnGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function handle(string $tableName): void
$numberOfChildRelationsToCreate = 2;
$numberOfChildRows = 4;
$connectionPool = GeneralUtility::makeInstance(ConnectionPool::class);
for ($i = 0; $i < $numberOfChildRows; $i ++) {
for ($i = 0; $i < $numberOfChildRows; $i++) {
$fieldValues = [
'pid' => $pidOfMainTable,
'tstamp' => $context->getAspect('date')->get('timestamp'),
Expand Down

0 comments on commit 1953af6

Please sign in to comment.