We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -63,15 +63,15 @@ |
||
| 63 | 63 | $pid = 2; |
| 64 | 64 | $rootline = \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($pid); |
| 65 | 65 | $siterootRow = []; |
| 66 | - foreach($rootline as $_uid=>$_row) { |
|
| 67 | - if($_row['is_siteroot'] == '1') { |
|
| 66 | + foreach ($rootline as $_uid=>$_row) { |
|
| 67 | + if ($_row['is_siteroot'] == '1') { |
|
| 68 | 68 | $siterootRow = $_row; |
| 69 | 69 | break; |
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | try { |
| 74 | - $ts = $objectManager->get(\TYPO3\CMS\Core\TypoScript\TemplateService::class,[$siterootRow['uid']]); |
|
| 74 | + $ts = $objectManager->get(\TYPO3\CMS\Core\TypoScript\TemplateService::class, [$siterootRow['uid']]); |
|
| 75 | 75 | $ts->rootLine = $rootline; |
| 76 | 76 | $ts->runThroughTemplates($rootline, 0); |
| 77 | 77 | $ts->generateConfig(); |
@@ -58,7 +58,8 @@ |
||
| 58 | 58 | * |
| 59 | 59 | * @return void |
| 60 | 60 | */ |
| 61 | - public function getTyposcriptConfigFromPluginSiteRoot($params) { |
|
| 61 | + public function getTyposcriptConfigFromPluginSiteRoot($params) |
|
| 62 | + { |
|
| 62 | 63 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
| 63 | 64 | $pid = 2; |
| 64 | 65 | $rootline = \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($pid); |