@@ -211,7 +211,7 @@ |
||
| 211 | 211 | { |
| 212 | 212 | $entities = null; |
| 213 | 213 | |
| 214 | - $table = (string)$arguments['table']; |
|
| 214 | + $table = (string) $arguments['table']; |
|
| 215 | 215 | $model = $arguments['model'] ?? ''; |
| 216 | 216 | $match = $arguments['match']; |
| 217 | 217 | $sortby = $arguments['sortby']; |
@@ -121,13 +121,13 @@ |
||
| 121 | 121 | |
| 122 | 122 | if (version_compare(TYPO3_branch, '8', '>=')) { |
| 123 | 123 | $croppingConfiguration = $fileObject->getProperty('crop'); |
| 124 | - $cropVariantCollection = \TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariantCollection::create((string)$croppingConfiguration); |
|
| 124 | + $cropVariantCollection = \TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariantCollection::create((string) $croppingConfiguration); |
|
| 125 | 125 | |
| 126 | 126 | return (int) $cropVariantCollection->getCropArea('default')->makeAbsoluteBasedOnFile($fileObject)->asArray()[$dimensionalProperty]; |
| 127 | 127 | } else { |
| 128 | 128 | $croppingConfiguration = json_decode($fileObject->getProperty('crop'), true); |
| 129 | 129 | |
| 130 | - return (int)$croppingConfiguration[$dimensionalProperty]; |
|
| 130 | + return (int) $croppingConfiguration[$dimensionalProperty]; |
|
| 131 | 131 | } |
| 132 | 132 | } |
| 133 | 133 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | /** @var StandaloneView $view */ |
| 77 | 77 | $view = $this->objectManager->get(StandaloneView::class); |
| 78 | 78 | |
| 79 | - $view->setLayoutRootPaths([$rootPath . '/Layouts']); |
|
| 79 | + $view->setLayoutRootPaths([$rootPath . '/Layouts']); |
|
| 80 | 80 | $view->setPartialRootPaths([$rootPath . '/Partials']); |
| 81 | 81 | $view->setTemplatePathAndFilename($rootPath . '/Templates/' . $template); |
| 82 | 82 | $view->assignMultiple($variables); |