@@ -277,7 +277,7 @@ |
||
| 277 | 277 | */ |
| 278 | 278 | protected function runMagerunCommand(InputInterface $input, OutputInterface $output, $commandString) |
| 279 | 279 | { |
| 280 | - $noInteraction = ! $input->getOption('no-interaction'); |
|
| 280 | + $noInteraction = !$input->getOption('no-interaction'); |
|
| 281 | 281 | $this->getApplication()->setAutoExit(false); |
| 282 | 282 | $commandString = $this->_replaceScriptVars($commandString); |
| 283 | 283 | $input = new StringInput($commandString); |
@@ -113,19 +113,19 @@ |
||
| 113 | 113 | // Initial call contains only the sections and need to extract the tabs |
| 114 | 114 | if (is_array($structureElement)) { |
| 115 | 115 | if (isset($structureElement['tab'])) { |
| 116 | - $pathLabel = $this->tabMap[$structureElement['tab']]['label']; |
|
| 116 | + $pathLabel = $this->tabMap[$structureElement['tab']]['label']; |
|
| 117 | 117 | } |
| 118 | 118 | $structureElement = $this->configStructure->getElement($structureElement['id']); |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | - if (mb_stripos((string)$structureElement->getLabel(), $searchTerm) !== false |
|
| 122 | - || mb_stripos((string)$structureElement->getComment(), $searchTerm) !== false |
|
| 121 | + if (mb_stripos((string) $structureElement->getLabel(), $searchTerm) !== false |
|
| 122 | + || mb_stripos((string) $structureElement->getComment(), $searchTerm) !== false |
|
| 123 | 123 | ) { |
| 124 | 124 | $elementData = $structureElement->getData(); |
| 125 | 125 | $this->results[] = [ |
| 126 | 126 | 'id' => trim($structureElement->getPath(), '/'), |
| 127 | 127 | 'type' => $elementData['_elementType'], |
| 128 | - 'name' => trim($pathLabel . ' / ' . trim((string)$structureElement->getLabel()), '/'), |
|
| 128 | + 'name' => trim($pathLabel . ' / ' . trim((string) $structureElement->getLabel()), '/'), |
|
| 129 | 129 | ]; |
| 130 | 130 | } |
| 131 | 131 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - public static function tryGetCompressionType(string $filename): null|string { |
|
| 46 | + public static function tryGetCompressionType(string $filename): null | string { |
|
| 47 | 47 | switch (true) { |
| 48 | 48 | case str_ends_with($filename, '.sql'): |
| 49 | 49 | return 'none'; |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | |
| 17 | 17 | public function __construct(InputInterface $input) |
| 18 | 18 | { |
| 19 | - $this->compressionLevel = (int)$input->getOption('zstd-level'); |
|
| 20 | - $this->extraArgs = (string)$input->getOption('zstd-extra-args'); |
|
| 19 | + $this->compressionLevel = (int) $input->getOption('zstd-level'); |
|
| 20 | + $this->extraArgs = (string) $input->getOption('zstd-extra-args'); |
|
| 21 | 21 | |
| 22 | 22 | parent::__construct($input); |
| 23 | 23 | } |