We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -9,7 +9,9 @@ discard block |
||
| 9 | 9 | * LICENSE.txt file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -if (!defined ('TYPO3_MODE')) die ('Access denied.'); |
|
| 12 | +if (!defined ('TYPO3_MODE')) { |
|
| 13 | + die ('Access denied.'); |
|
| 14 | +} |
|
| 13 | 15 | |
| 14 | 16 | // Register static typoscript. |
| 15 | 17 | \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Basic Configuration'); |
@@ -163,16 +165,16 @@ discard block |
||
| 163 | 165 | \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($_EXTKEY.'_validator', 'FILE:EXT:'.$_EXTKEY.'/plugins/validator/flexform.xml'); |
| 164 | 166 | |
| 165 | 167 | // Register modules. |
| 166 | -if (TYPO3_MODE == 'BE') { |
|
| 168 | +if (TYPO3_MODE == 'BE') { |
|
| 167 | 169 | |
| 168 | 170 | // Add modules after "web". |
| 169 | - if (!isset($TBE_MODULES['txdlfmodules'])) { |
|
| 171 | + if (!isset($TBE_MODULES['txdlfmodules'])) { |
|
| 170 | 172 | |
| 171 | 173 | $modules = array(); |
| 172 | 174 | |
| 173 | - foreach($TBE_MODULES as $key => $val) { |
|
| 175 | + foreach($TBE_MODULES as $key => $val) { |
|
| 174 | 176 | |
| 175 | - if ($key == 'web') { |
|
| 177 | + if ($key == 'web') { |
|
| 176 | 178 | |
| 177 | 179 | $modules[$key] = $val; |
| 178 | 180 | |
@@ -931,7 +931,7 @@ |
||
| 931 | 931 | |
| 932 | 932 | foreach($this->physicalStructureInfo as $page) { |
| 933 | 933 | |
| 934 | - if(strpos($page['orderlabel'], $logicalPage) !== false){ |
|
| 934 | + if(strpos($page['orderlabel'], $logicalPage) !== false) { |
|
| 935 | 935 | |
| 936 | 936 | $this->lastSearchedPhysicalPage['logicalPage'] = $logicalPage; |
| 937 | 937 | $this->lastSearchedPhysicalPage['physicalPage'] = $physicalPage; |