Completed
Branch master (01bfb0)
by Nik
03:53
created
src/Application/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@
 block discarded – undo
348 348
         
349 349
         $this->initializeBitrix();
350 350
         
351
-        spl_autoload_register(function ($className) {
351
+        spl_autoload_register(function($className) {
352 352
             $file = ltrim($className, "\\");
353 353
             $file = strtr($file, Loader::ALPHA_UPPER, Loader::ALPHA_LOWER);
354 354
             $file = str_replace('\\', '/', $file);
Please login to merge, or discard this patch.
src/Application/Command/InitCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
         }
181 181
         
182 182
         $question = new Question('    <info>Enter path to web directory (document root of main site):</info> ');
183
-        $question->setValidator(function ($answer) {
183
+        $question->setValidator(function($answer) {
184 184
             if (!is_dir($answer))
185 185
             {
186 186
                 throw new \RuntimeException('Directory "' . $answer . '" is missing');
Please login to merge, or discard this patch.
src/Environment/Command/InitCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -394,7 +394,7 @@
 block discarded – undo
394 394
                     }
395 395
                     else
396 396
                     {
397
-                        $output->writeln('<error>Invalid option for module "' . $module . '" with code "' . $code. '"</error>');
397
+                        $output->writeln('<error>Invalid option for module "' . $module . '" with code "' . $code . '"</error>');
398 398
                     }
399 399
                 }
400 400
                 else
Please login to merge, or discard this patch.
src/Module/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 	{
111 111
 		if (!$this->isRegistered())
112 112
 		{
113
-			$moduleObject =& $this->getObject();
113
+			$moduleObject = & $this->getObject();
114 114
 
115 115
 			/**
116 116
 			 * It's important to check if module class defines InstallDB method (it must register module)
Please login to merge, or discard this patch.
src/Agent/AgentHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             }
44 44
         }
45 45
 
46
-        return '\\' . $className . '::agent(' . static::convertArgsToString($args). ')' . $chain . ';';
46
+        return '\\' . $className . '::agent(' . static::convertArgsToString($args) . ')' . $chain . ';';
47 47
     }
48 48
 
49 49
     protected static function convertArgsToString(array $args)
Please login to merge, or discard this patch.