@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Database\Query; |
4 | 4 | |
5 | 5 | /* |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | implode( |
257 | 257 | ', ', |
258 | 258 | array_map( |
259 | - function ($column) use ($connection) { |
|
259 | + function($column) use ($connection) { |
|
260 | 260 | return $connection->quoteIdentifier($column); |
261 | 261 | }, |
262 | 262 | $this->columns |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | implode( |
273 | 273 | '), (', |
274 | 274 | array_map( |
275 | - function (array $valueSet) { |
|
275 | + function(array $valueSet) { |
|
276 | 276 | return implode(', ', $valueSet); |
277 | 277 | }, |
278 | 278 | $this->values |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * CreateForeignKeyDefinitionItem constructor. |
50 | 50 | * |
51 | 51 | * @param \TYPO3\CMS\Core\Database\Schema\Parser\AST\Identifier $indexName |
52 | - * @param array $columnNames |
|
52 | + * @param IndexColumnName[] $columnNames |
|
53 | 53 | * @param \TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition $reference |
54 | 54 | */ |
55 | 55 | public function __construct(Identifier $indexName, array $columnNames, ReferenceDefinition $reference) |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace TYPO3\CMS\Core\Database\Schema\Parser\AST; |
5 | 5 |
@@ -785,11 +785,11 @@ |
||
785 | 785 | } |
786 | 786 | |
787 | 787 | return '<div class="form-inline"><div class="form-group"><p>' |
788 | - . '<label for="field_simulate" style="margin-right: 20px;">' |
|
789 | - . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:setup/Resources/Private/Language/locallang.xlf:simulate')) |
|
790 | - . '</label>' |
|
791 | - . $this->simulateSelector |
|
792 | - . '</p></div></div>'; |
|
788 | + . '<label for="field_simulate" style="margin-right: 20px;">' |
|
789 | + . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:setup/Resources/Private/Language/locallang.xlf:simulate')) |
|
790 | + . '</label>' |
|
791 | + . $this->simulateSelector |
|
792 | + . '</p></div></div>'; |
|
793 | 793 | } |
794 | 794 | |
795 | 795 | /** |
@@ -605,10 +605,10 @@ |
||
605 | 605 | case '10': |
606 | 606 | // Sounds like |
607 | 607 | /** |
608 | - * Indexer object |
|
609 | - * |
|
610 | - * @var Indexer |
|
611 | - */ |
|
608 | + * Indexer object |
|
609 | + * |
|
610 | + * @var Indexer |
|
611 | + */ |
|
612 | 612 | $indexerObj = GeneralUtility::makeInstance(Indexer::class); |
613 | 613 | // Perform metaphone search |
614 | 614 | $storeMetaphoneInfoAsWords = !$this->isTableUsed('index_words'); |
@@ -4647,7 +4647,7 @@ |
||
4647 | 4647 | * |
4648 | 4648 | * @param int $targetPid Target page id |
4649 | 4649 | * @return mixed Return domain data or NULL |
4650 | - */ |
|
4650 | + */ |
|
4651 | 4651 | public function getDomainDataForPid($targetPid) |
4652 | 4652 | { |
4653 | 4653 | // Using array_key_exists() here, nice $result can be NULL |
@@ -1606,7 +1606,7 @@ discard block |
||
1606 | 1606 | /** |
1607 | 1607 | * Checks the current rootline for defined sections. |
1608 | 1608 | * |
1609 | - * @return bool |
|
1609 | + * @return integer |
|
1610 | 1610 | * @access private |
1611 | 1611 | */ |
1612 | 1612 | public function checkRootlineForIncludeSection() |
@@ -1714,7 +1714,7 @@ discard block |
||
1714 | 1714 | * Checks page record for include section |
1715 | 1715 | * |
1716 | 1716 | * @param array $row The page record to evaluate (needs fields: extendToSubpages + hidden, starttime, endtime, fe_group) |
1717 | - * @return bool Returns TRUE if either extendToSubpages is not checked or if the enableFields does not disable the page record. |
|
1717 | + * @return integer Returns TRUE if either extendToSubpages is not checked or if the enableFields does not disable the page record. |
|
1718 | 1718 | * @access private |
1719 | 1719 | * @see checkEnableFields(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getTreeList(), checkRootlineForIncludeSection() |
1720 | 1720 | */ |
@@ -2832,7 +2832,7 @@ |
||
2832 | 2832 | $tempCommaReplacementString = '###KASPER###'; |
2833 | 2833 | |
2834 | 2834 | // replace every "," wrapped in "()" by a "unique" string |
2835 | - $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) { |
|
2835 | + $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) { |
|
2836 | 2836 | return str_replace(',', $tempCommaReplacementString, $result[0]); |
2837 | 2837 | }, $string); |
2838 | 2838 |
@@ -512,8 +512,8 @@ |
||
512 | 512 | } |
513 | 513 | |
514 | 514 | /** |
515 | - * @return string The HTML for the menu |
|
516 | - */ |
|
515 | + * @return string The HTML for the menu |
|
516 | + */ |
|
517 | 517 | public function writeMenu() |
518 | 518 | { |
519 | 519 | return ''; |
@@ -22,11 +22,11 @@ |
||
22 | 22 | class FileReference extends \TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder |
23 | 23 | { |
24 | 24 | /** |
25 | - * Uid of the referenced sys_file. Needed for extbase to serialize the |
|
26 | - * reference correctly. |
|
27 | - * |
|
28 | - * @var int |
|
29 | - */ |
|
25 | + * Uid of the referenced sys_file. Needed for extbase to serialize the |
|
26 | + * reference correctly. |
|
27 | + * |
|
28 | + * @var int |
|
29 | + */ |
|
30 | 30 | protected $uidLocal; |
31 | 31 | |
32 | 32 | /** |
@@ -67,8 +67,8 @@ |
||
67 | 67 | protected $persistenceManager; |
68 | 68 | |
69 | 69 | /** |
70 | - * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager |
|
71 | - */ |
|
70 | + * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager |
|
71 | + */ |
|
72 | 72 | public function injectPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager) |
73 | 73 | { |
74 | 74 | $this->persistenceManager = $persistenceManager; |
@@ -459,7 +459,7 @@ |
||
459 | 459 | } |
460 | 460 | } else { |
461 | 461 | // Full qualified |
462 | - // Tx_MyExt_Validation_Validator_MyValidator or \Acme\Ext\Validation\Validator\FooValidator |
|
462 | + // Tx_MyExt_Validation_Validator_MyValidator or \Acme\Ext\Validation\Validator\FooValidator |
|
463 | 463 | $possibleClassName = $validatorName; |
464 | 464 | if (!empty($possibleClassName) && $possibleClassName[0] === '\\') { |
465 | 465 | $possibleClassName = substr($possibleClassName, 1); |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | |
188 | 188 | if ($methodValidateAnnotations === null) { |
189 | 189 | $validateAnnotations = $this->getMethodValidateAnnotations($className, $methodName); |
190 | - $methodValidateAnnotations = array_map(function ($validateAnnotation) { |
|
190 | + $methodValidateAnnotations = array_map(function($validateAnnotation) { |
|
191 | 191 | return [ |
192 | 192 | 'type' => $validateAnnotation['validatorName'], |
193 | 193 | 'options' => $validateAnnotation['validatorOptions'], |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | * @param ConjunctionValidator $conjunctionValidator |
347 | 347 | * @return NULL|Validator\ObjectValidatorInterface |
348 | 348 | */ |
349 | - protected function addCustomValidators($targetClassName, ConjunctionValidator &$conjunctionValidator) |
|
349 | + protected function addCustomValidators($targetClassName, ConjunctionValidator & $conjunctionValidator) |
|
350 | 350 | { |
351 | 351 | // @todo: get rid of ClassNamingUtility usage once we dropped underscored class name support |
352 | 352 | $possibleValidatorClassName = ClassNamingUtility::translateModelNameToValidatorName($targetClassName); |