Completed
Push — master ( aaa0db...017393 )
by Rémi
11:55
created
src/Config/ProjectConfig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $projects = $this['projects'];
40 40
 
41
-        array_walk($projects, function (&$project) {
41
+        array_walk($projects, function(&$project) {
42 42
             $project['project'] = array_merge(
43 43
                 $this->getProjectDefaults(),
44 44
                 $project['project']
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     {
62 62
         $project = array_filter(
63 63
             $this->get('projects'),
64
-            function ($config) use ($name, $ref) {
64
+            function($config) use ($name, $ref) {
65 65
                 return
66 66
                     $config['project']['name'] == $name &&
67 67
                     $config['project']['ref'] == $ref;
Please login to merge, or discard this patch.
src/Rundeck/JobRunner.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
     public function getApiUrl($jobId, $method = 'GET')
66 66
     {
67 67
         return
68
-            "http" . (($this->config['ssl']) ? 's' : '') . "://" .
69
-            $this->config['host'] . ':' . $this->config['port'] . '/api/' .
70
-            $this->config['api_version'] . '/job/' . $jobId . '/' .
68
+            "http".(($this->config['ssl']) ? 's' : '')."://".
69
+            $this->config['host'].':'.$this->config['port'].'/api/'.
70
+            $this->config['api_version'].'/job/'.$jobId.'/'.
71 71
             ((strcasecmp($method, 'get') == 0) ? 'run' : 'executions');
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             !$project['runOnFail']
73 73
         ) {
74 74
             $this->warning(
75
-                "The project config for {$this->getHook()->getProjectName()} " .
75
+                "The project config for {$this->getHook()->getProjectName()} ".
76 76
                 "doesn't enable to run the job when the build failed"
77 77
             );
78 78
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         if (!isset($this->hook)) {
141 141
             $this->hook = HookResolver::load($this->getInput());
142 142
 
143
-            $this->debug('Hook handler type: ' . get_class($this->hook));
143
+            $this->debug('Hook handler type: '.get_class($this->hook));
144 144
         }
145 145
 
146 146
         return $this->hook;
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
             $this->input = file_get_contents('php://input');
160 160
 
161
-            $this->debug('input content: ' . $this->input);
161
+            $this->debug('input content: '.$this->input);
162 162
         }
163 163
 
164 164
         return $this->input;
Please login to merge, or discard this patch.