Passed
Pull Request — main (#18)
by Dimitri
03:55
created
src/Cli/Commands/Generators/Controller.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,11 +68,11 @@
 block discarded – undo
68 68
      */
69 69
     public function execute(array $params)
70 70
     {
71
-		$this->component     = 'Controller';
72
-		$this->directory     = 'Controllers';
73
-		$this->template      = 'controller.tpl.php';
74
-		$this->classNameLang = 'CLI.generator.className.controller';
75
-		$params              = array_merge($params, ['suffix' => null]);
71
+        $this->component     = 'Controller';
72
+        $this->directory     = 'Controllers';
73
+        $this->template      = 'controller.tpl.php';
74
+        $this->classNameLang = 'CLI.generator.className.controller';
75
+        $params              = array_merge($params, ['suffix' => null]);
76 76
 
77 77
         $this->task('Creation du controleur')->eol();
78 78
 
Please login to merge, or discard this patch.
src/Event/EventManager.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         return true;
111 111
     }
112 112
 
113
-	/**
113
+    /**
114 114
      * @deprecated use off() instead
115 115
      */
116 116
     public function detach(string $event, callable $callback, int $priority = 0): bool
@@ -167,10 +167,10 @@  discard block
 block discarded – undo
167 167
         return $result;
168 168
     }
169 169
 
170
-	/**
171
-	 * @deprecated use emit() instead
172
-	 */
173
-	public function trigger($event, $target = null, $argv = [])
170
+    /**
171
+     * @deprecated use emit() instead
172
+     */
173
+    public function trigger($event, $target = null, $argv = [])
174 174
     {
175 175
         return $this->emit($event, $target, $argv);
176 176
     }
Please login to merge, or discard this patch.
src/Event/EventDiscover.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
     public function discove()
32 32
     {
33 33
         $files = array_merge(
34
-			$this->locator->listFiles('Events/'), // @deprecated just use for compatibility
35
-			$this->locator->listFiles('Listeners/')
36
-		);
34
+            $this->locator->listFiles('Events/'), // @deprecated just use for compatibility
35
+            $this->locator->listFiles('Listeners/')
36
+        );
37 37
 
38 38
         foreach ($files as $file) {
39 39
             $className = $this->locator->getClassname($file);
Please login to merge, or discard this patch.