Completed
Push — master ( e481c7...bcdb1b )
by Marco
35:35 queued 20:00
created
src/Comodojo/Extender/Socket/Commands/Scheduler/Remove.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
         $id = $params->get('id');
18 18
         $name = $params->get('name');
19 19
 
20
-        $remove = empty($id) ? $manager->removeByName($name) :
21
-            $manager->remove($id);
20
+        $remove = empty($id) ? $manager->removeByName($name) : $manager->remove($id);
22 21
 
23 22
         $refresh = Refresh::execute($params, $daemon);
24 23
 
Please login to merge, or discard this patch.
src/Comodojo/Extender/Transformers/WorklogTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 class WorklogTransformer extends TransformerAbstract {
7 7
 
8
-    public function transform (Worklog $worklog) {
8
+    public function transform(Worklog $worklog) {
9 9
 
10 10
         return [
11 11
             'id' => (int) $worklog->getId(),
Please login to merge, or discard this patch.
src/Comodojo/Extender/Components/PluginsLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
 
28 28
         $plain_plugins = [];
29 29
 
30
-        foreach ($config as $package => $plugins) {
31
-            foreach ($plugins as $plugin) {
30
+        foreach ( $config as $package => $plugins ) {
31
+            foreach ( $plugins as $plugin ) {
32 32
                 $plain_plugins[] = $plugin;
33 33
             }
34 34
         }
Please login to merge, or discard this patch.
src/Comodojo/Extender/Components/CommandsLoader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
 
28 28
         $classes = [];
29 29
 
30
-        foreach ($config as $package) {
31
-            foreach ($package as $command) {
32
-                if ( $command['scope'] === 'extender') {
30
+        foreach ( $config as $package ) {
31
+            foreach ( $package as $command ) {
32
+                if ( $command['scope'] === 'extender' ) {
33 33
                     $classes[] = $command['class'];
34 34
                 }
35 35
             }
Please login to merge, or discard this patch.
src/Comodojo/Extender/Components/Version.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
     protected $description = 'Daemonizable, database driven, multiprocess, (pseudo) cron task scheduler';
25 25
     protected $version = '2.0-dev';
26 26
     protected $ascii = "\r\n   ____     __              __       \r\n".
27
-                       "  / __/_ __/ /____ ___  ___/ /__ ____\r\n".
28
-                       " / _/ \ \ / __/ -_) _ \/ _  / -_) __/\r\n".
29
-                       "/___//_\_\\__/\__/_//_/\_,_/\__/_/   \r\n";
27
+                        "  / __/_ __/ /____ ___  ___/ /__ ____\r\n".
28
+                        " / _/ \ \ / __/ -_) _ \/ _  / -_) __/\r\n".
29
+                        "/___//_\_\\__/\__/_//_/\_,_/\__/_/   \r\n";
30 30
     protected $template = "\n\n{ascii}\r\n".
31
-                          "---------------------------------------------\r\n".
32
-                          "{name} (ver {version})\r\n{description}\r\n";
31
+                            "---------------------------------------------\r\n".
32
+                            "{name} (ver {version})\r\n{description}\r\n";
33 33
     protected $prefix = 'extender-';
34 34
 
35 35
 }
Please login to merge, or discard this patch.