@@ -44,7 +44,7 @@ |
||
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 |
@@ -17,6 +17,6 @@ |
||
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 |
@@ -56,12 +56,12 @@ |
||
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 |
@@ -59,7 +59,7 @@ |
||
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 |
@@ -31,7 +31,7 @@ |
||
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 | } |