Completed
Branch master (f42d2c)
by Dmitry
02:06
created
lib/Install/Installer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
      */
32 32
     public static function getBinaries(Event $event)
33 33
     {
34
-        $dir = self::getRootPath().'/bin';
34
+        $dir = self::getRootPath() . '/bin';
35 35
 
36
-        if(!file_exists($dir))
36
+        if (!file_exists($dir))
37 37
         {
38 38
             mkdir($dir);
39 39
         }
Please login to merge, or discard this patch.
lib/cli/SymfonyOptimize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $output->writeln('<info>BxOptimization set up.</info>');
46 46
 
47 47
         } catch (\Exception $e) {
48
-            $output->writeln('<error>'.get_class($e).': '.$e->getMessage().'</error>');
48
+            $output->writeln('<error>' . get_class($e) . ': ' . $e->getMessage() . '</error>');
49 49
         }
50 50
     }
51 51
 
Please login to merge, or discard this patch.
lib/Handler/HandlerInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * @param string $file Путь к файлу
20 20
      * @return void
21 21
      */
22
-     function queueFile($file);
22
+        function queueFile($file);
23 23
 
24 24
     /**
25 25
      * Обрабатывает файлы в очереди
Please login to merge, or discard this patch.
lib/Handler/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function canHandleFile($file = null)
19 19
     {
20
-        if(!$file) {
20
+        if (!$file) {
21 21
             throw new \Exception("В обработчик " . get_class() . " передано неверное имя файла: $file");
22 22
         }
23 23
 
Please login to merge, or discard this patch.
lib/Handler/HandlerProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,13 +49,13 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function enableHandler($key)
51 51
     {
52
-        if(!$key) {
52
+        if (!$key) {
53 53
             throw new \Exception("Не передан ключ обработчика");
54 54
         } else {
55 55
             $key = strtolower(trim($key));
56 56
         }
57 57
 
58
-        if(isset($this->defaultHandlers[$key])) {
58
+        if (isset($this->defaultHandlers[$key])) {
59 59
             $this->handlers[$key] = new $this->defaultHandlers[$key];
60 60
         } else {
61 61
             throw new \Exception("Обработчик $key не найден");
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     {
84 84
         $return = false;
85 85
 
86
-        if(!isset($this->handlers[$key]) || $replace) {
86
+        if (!isset($this->handlers[$key]) || $replace) {
87 87
             $this->handlers[$key] = new $classname;
88
-            $return =  true;
88
+            $return = true;
89 89
         }
90 90
 
91 91
         return $return;
Please login to merge, or discard this patch.