@@ -269,10 +269,10 @@ |
||
| 269 | 269 | 'readOnly' => 1, |
| 270 | 270 | 'fieldControl' => [ |
| 271 | 271 | 'elementBrowser' => [ |
| 272 | - 'disabled' => true |
|
| 272 | + 'disabled' => TRUE |
|
| 273 | 273 | ] |
| 274 | 274 | ], |
| 275 | - 'hideDeleteIcon' => true |
|
| 275 | + 'hideDeleteIcon' => TRUE |
|
| 276 | 276 | ], |
| 277 | 277 | ], |
| 278 | 278 | 'volume' => [ |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | 'label' => 'LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_metadata.wrap', |
| 145 | 145 | 'config' => [ |
| 146 | 146 | 'behaviour' => [ |
| 147 | - 'allowLanguageSynchronization' => true |
|
| 147 | + 'allowLanguageSynchronization' => TRUE |
|
| 148 | 148 | ], |
| 149 | 149 | 'type' => 'text', |
| 150 | 150 | 'cols' => 48, |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | 'wrap' => 'off', |
| 153 | 153 | 'eval' => 'trim', |
| 154 | 154 | 'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>", |
| 155 | - 'fixedFont' => true, |
|
| 156 | - 'enableTabulator' => true |
|
| 155 | + 'fixedFont' => TRUE, |
|
| 156 | + 'enableTabulator' => TRUE |
|
| 157 | 157 | ], |
| 158 | 158 | ], |
| 159 | 159 | 'index_tokenized' => [ |
@@ -157,14 +157,14 @@ |
||
| 157 | 157 | 'label' => 'LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_collections.description', |
| 158 | 158 | 'config' => [ |
| 159 | 159 | 'behaviour' => [ |
| 160 | - 'allowLanguageSynchronization' => true |
|
| 160 | + 'allowLanguageSynchronization' => TRUE |
|
| 161 | 161 | ], |
| 162 | 162 | 'type' => 'text', |
| 163 | 163 | 'cols' => 30, |
| 164 | 164 | 'rows' => 10, |
| 165 | 165 | 'wrap' => 'virtual', |
| 166 | 166 | 'default' => '', |
| 167 | - 'enableRichtext' => true, |
|
| 167 | + 'enableRichtext' => TRUE, |
|
| 168 | 168 | ], |
| 169 | 169 | ], |
| 170 | 170 | 'thumbnail' => [ |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | public function getContent($url) |
| 44 | 44 | { |
| 45 | 45 | $fileContents = GeneralUtility::getUrl($url); |
| 46 | - if ($fileContents !== false) { |
|
| 46 | + if ($fileContents !== FALSE) { |
|
| 47 | 47 | return $fileContents; |
| 48 | 48 | } else { |
| 49 | 49 | return ''; |
@@ -24,8 +24,8 @@ |
||
| 24 | 24 | 'suggests' => [] |
| 25 | 25 | ], |
| 26 | 26 | 'state' => 'stable', |
| 27 | - 'uploadfolder' => false, |
|
| 28 | - 'clearCacheOnLoad' => false, |
|
| 27 | + 'uploadfolder' => FALSE, |
|
| 28 | + 'clearCacheOnLoad' => FALSE, |
|
| 29 | 29 | 'author' => 'Sebastian Meyer (Maintainer)', |
| 30 | 30 | 'author_email' => '[email protected]', |
| 31 | 31 | 'author_company' => 'Kitodo. Key to digital objects e. V.', |
@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | public static function format(string $text, array $format = []) |
| 35 | 35 | { |
| 36 | 36 | if (!empty($text)) { |
| 37 | - if ($format['bold'] ?? false) { |
|
| 37 | + if ($format['bold'] ?? FALSE) { |
|
| 38 | 38 | $text = '**' . $text . '**'; |
| 39 | - } elseif ($format['italic'] ?? false) { |
|
| 39 | + } elseif ($format['italic'] ?? FALSE) { |
|
| 40 | 40 | $text = '*' . $text . '*'; |
| 41 | 41 | } |
| 42 | 42 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | :header-rows: $numHeaderRows |
| 82 | 82 | |
| 83 | 83 | |
| 84 | -RST; |
|
| 84 | +rst; |
|
| 85 | 85 | |
| 86 | 86 | // Pattern for a row: |
| 87 | 87 | // |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | $classLoader = require_once __DIR__ . '/../../../vendor/autoload.php'; |
| 15 | 15 | |
| 16 | -$outputPath = $argv[1] ?? null; |
|
| 16 | +$outputPath = $argv[1] ?? NULL; |
|
| 17 | 17 | if (empty($outputPath) || !is_writable(($outputPath))) { |
| 18 | 18 | echo 'Error: Output path not specified or not writable' . "\n"; |
| 19 | 19 | exit(1); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | // For request types other than "FE", the configuration manager would try to access the database. |
| 29 | 29 | \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE); |
| 30 | -\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader, false); |
|
| 30 | +\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader, FALSE); |
|
| 31 | 31 | |
| 32 | 32 | $generator = new \Kitodo\DbDocs\Generator(); |
| 33 | 33 | $tables = $generator->collectTables(); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function initializeArguments() |
| 44 | 44 | { |
| 45 | - $this->registerArgument('name', 'string', 'Name of variable to create', true); |
|
| 45 | + $this->registerArgument('name', 'string', 'Name of variable to create', TRUE); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | || GeneralUtility::inList($this->settings['collections'], $requestData['collection']) |
| 81 | 81 | ) { |
| 82 | 82 | |
| 83 | - $documents = $this->documentRepository->findAllByCollectionsLimited(GeneralUtility::intExplode(',', $requestData['collection'], true), $this->settings['limit']); |
|
| 83 | + $documents = $this->documentRepository->findAllByCollectionsLimited(GeneralUtility::intExplode(',', $requestData['collection'], TRUE), $this->settings['limit']); |
|
| 84 | 84 | |
| 85 | 85 | foreach ($documents as $document) { |
| 86 | 86 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | if ((empty($document->getTitle()) || !empty($this->settings['prependSuperiorTitle'])) |
| 90 | 90 | && !empty($document->getPartof()) |
| 91 | 91 | ) { |
| 92 | - $superiorTitle = Doc::getTitle($document->getPartof(), true); |
|
| 92 | + $superiorTitle = Doc::getTitle($document->getPartof(), TRUE); |
|
| 93 | 93 | if (!empty($superiorTitle)) { |
| 94 | 94 | $title .= '[' . $superiorTitle . ']'; |
| 95 | 95 | } |