Completed
Push — develop ( 6a168f...92c47e )
by
unknown
12:16
created
module/Core/src/Core/Listener/DeferredListenerAggregate.php 3 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
         return $this;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $name
56
+     */
54 57
     public function setHook($event, $service, $method = null, $name = null)
55 58
     {
56 59
         if (!$name) { $name = sha1($event . $service . $method); }
@@ -85,7 +88,7 @@  discard block
 block discarded – undo
85 88
      *
86 89
      * @param EventManagerInterface $events
87 90
      *
88
-     * @return void
91
+     * @return boolean
89 92
      */
90 93
     public function detach(EventManagerInterface $events)
91 94
     {
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Organizations\Repository\Event;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!$name) { $name = sha1($event . $service . $method); }
57 57
 
58
-        $spec = [ 'event' => $event, 'service' => $service ];
58
+        $spec = ['event' => $event, 'service' => $service];
59 59
         if (null !== $method) { $spec['method'] = $method; }
60 60
 
61 61
         $this->hooks[$name] = $spec;
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             throw new \BadMethodCallException('Unknown method "' . $method . '"');
106 106
         }
107 107
 
108
-        $event    = isset($args[0]) && $args[0] instanceOf EventInterface ? $args[0] : null;
108
+        $event = isset($args[0]) && $args[0] instanceOf EventInterface ? $args[0] : null;
109 109
 
110 110
         if (!$event) {
111 111
             throw new \InvalidArgumentException('First argument must be an EventInterface');
Please login to merge, or discard this patch.
module/Core/src/Core/Log/Processor/UniqueId.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Organizations\Repository\Event;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ImportController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -179,9 +179,9 @@  discard block
 block discarded – undo
179 179
                                 $location = new Location();
180 180
                                 $coords = array_map(function($i) { return (float) $i; }, $locData['coordinates']);
181 181
                                 $location->setCountry($locData['country'])
182
-                                         ->setRegion($locData['region'])
183
-                                         ->setCity($locData['city'])
184
-                                         ->setCoordinates(new Point($coords));
182
+                                            ->setRegion($locData['region'])
183
+                                            ->setCity($locData['city'])
184
+                                            ->setCoordinates(new Point($coords));
185 185
 
186 186
                                 $jobLocations->add($location);
187 187
                             }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                                 /* @var $jobEvents \Zend\EventManager\EventManager */
213 213
                                 $jobEvents = $services->get('Jobs/Events');
214 214
                                 $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED)
215
-                                         ->setTarget($this);
215
+                                            ->setTarget($this);
216 216
                                 $responses = $jobEvents->trigger($jobEvent);
217 217
                                 foreach ($responses as $response) {
218 218
                                     // responses from the portals
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Listener/Response/JobResponse.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,35 +23,35 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Job has been published
25 25
      */
26
-    const RESPONSE_OK             = 'ok';
26
+    const RESPONSE_OK = 'ok';
27 27
 
28 28
     /**
29 29
      * Job has been published and has stopped all other publishing
30 30
      */
31
-    const RESPONSE_OKANDSTOP      = 'ok and publishing terminated afterwards';
31
+    const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards';
32 32
 
33 33
     /**
34 34
      * publishing has been stopped
35 35
      */
36
-    const RESPONSE_STOP           = 'publishing terminated';
36
+    const RESPONSE_STOP = 'publishing terminated';
37 37
 
38 38
     /**
39 39
      * publishing has been denied,
40 40
      * this is very likely when a job was not intended to be sended to a portal
41 41
      */
42
-    const RESPONSE_DENIED         = 'denied';
42
+    const RESPONSE_DENIED = 'denied';
43 43
 
44 44
     /**
45 45
      * a connection to the portal could not be established
46 46
      * or the publishing of the Job has been rejected for other reasons
47 47
      */
48
-    const RESPONSE_FAIL           = 'fail';
48
+    const RESPONSE_FAIL = 'fail';
49 49
 
50 50
     /**
51 51
      * This error has nothing to do with wrong inputs,
52 52
      * something just has happend in the programm
53 53
      */
54
-    const RESPONSE_ERROR          = 'internal Error';
54
+    const RESPONSE_ERROR = 'internal Error';
55 55
 
56 56
     /**
57 57
      * nothing happens, but that's not a failure
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * nothing happens, and get used to it
64 64
      */
65
-    const RESPONSE_DEPRECATED     = 'deprecated';
65
+    const RESPONSE_DEPRECATED = 'deprecated';
66 66
 
67 67
     /**
68 68
      * @var string
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param string $portal
84 84
      * @param string $status
85 85
      */
86
-    public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message='') {
86
+    public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message = '') {
87 87
         $this->portal = $portal;
88 88
         $this->status = $status;
89 89
         $this->message = $message;
Please login to merge, or discard this patch.