Skip to content

Commit

Permalink
[TASK] Update php-cs-fixer to v2.10.2
Browse files Browse the repository at this point in the history
Adjusts comment-indentions for else/elseif.

Commands used:
* composer update friendsofphp/php-cs-fixer --with-dependencies
* Build/Scripts/cglFixMyCommit.sh (modified to run on all php-files)

Resolves: #83851
Releases: master
Change-Id: I0390b3fd612ea2c495696faf9364418a078cd586
Reviewed-on: https://review.typo3.org/55669
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
neufeind authored and lolli42 committed Feb 12, 2018
1 parent f6a34fe commit 07e566f
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 67 deletions.
122 changes: 67 additions & 55 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -306,7 +306,7 @@ protected function getPreview() : array
true
);

// else check if we can create an Image preview
// else check if we can create an Image preview
} elseif (GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], $fileExtension)) {
$preview['fileObject'] = $this->fileObject;
$preview['width'] = $width;
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/backend/Classes/Form/InlineStackProcessor.php
Expand Up @@ -283,7 +283,7 @@ protected function getStructureItemName($levelData, $disposal = 'Disposal_Attrib
$parts[] = implode('][', $levelData['flexform']);
}
$name = '[' . implode('][', $parts) . ']';
// Use in object id attributes:
// Use in object id attributes:
} else {
$name = implode('-', $parts);

Expand Down

0 comments on commit 07e566f

Please sign in to comment.