Completed
Push — dependabot/composer/psy/psysh-... ( 040827 )
by
unknown
19s
created
src/N98/Magento/Command/ScriptCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/SearchCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,19 +113,19 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.