Completed
Pull Request — master (#27)
by
unknown
02:38
created
src/Module/Command/ModuleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         if (in_array($this->getName(), ['module:register', 'module:unregister'])
45 45
             && $module->isThirdParty() && !$input->getOption('confirm-thirdparty')
46 46
         ) {
47
-            $output->writeln($module->isThirdParty() . ' is not a kernel module. Correct operation cannot be guaranteed for third-party modules!');
47
+            $output->writeln($module->isThirdParty().' is not a kernel module. Correct operation cannot be guaranteed for third-party modules!');
48 48
         }
49 49
     }
50 50
 
Please login to merge, or discard this patch.
src/Module/Exception/ModuleException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message, $moduleName, \Exception $previous = null)
19 19
     {
20
-        parent::__construct("[$moduleName] " . $message, 0, $previous);
20
+        parent::__construct("[$moduleName] ".$message, 0, $previous);
21 21
     }
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
src/Cache/Command/ClearCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,12 +56,12 @@
 block discarded – undo
56 56
 
57 57
         if ($dir) {
58 58
             $cache->cleanDir($dir);
59
-            $output->writeln('<info>Bitrix cache by "/' . BX_ROOT . '/cache/' . $dir . '" dir was deleted</info>');
59
+            $output->writeln('<info>Bitrix cache by "/'.BX_ROOT.'/cache/'.$dir.'" dir was deleted</info>');
60 60
         }
61 61
 
62 62
         if ($tag) {
63 63
             Application::getInstance()->getTaggedCache()->clearByTag($tag);
64
-            $output->writeln('<info>Bitrix cache by tag "' . $tag . '" was deleted</info>');
64
+            $output->writeln('<info>Bitrix cache by tag "'.$tag.'" was deleted</info>');
65 65
         }
66 66
     }
67 67
 }
68 68
\ No newline at end of file
Please login to merge, or discard this patch.
src/Search/Command/ReIndexCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
             if (is_array($searchResult) && $searchResult['MODULE'] == 'main') {
61 61
                 list(, $path) = explode("|", $searchResult["ID"], 2);
62
-                $output->writeln("\r       " . $path, OutputInterface::VERBOSITY_VERBOSE);
62
+                $output->writeln("\r       ".$path, OutputInterface::VERBOSITY_VERBOSE);
63 63
             }
64 64
         } while (is_array($searchResult));
65 65
 
Please login to merge, or discard this patch.
src/Application/CanRestartTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     protected function restartScript(InputInterface $input, OutputInterface $output)
33 33
     {
34
-        $proc = popen('php -f ' . join(' ', $GLOBALS['argv']) . ' 2>&1', 'r');
34
+        $proc = popen('php -f '.join(' ', $GLOBALS['argv']).' 2>&1', 'r');
35 35
         while (!feof($proc)) {
36 36
             $output->write(fread($proc, 4096));
37 37
         }
Please login to merge, or discard this patch.