Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Core/src/Core/Log/Formatter/ErrorAndExceptionHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,11 +143,11 @@
 block discarded – undo
143 143
             if ($value === null) {
144 144
                 continue;
145 145
             }
146
-            if (! is_array($value)) {
146
+            if (!is_array($value)) {
147 147
                 if ($key === null) {
148 148
                     $result[$nextIndex] = $value;
149 149
                 } else {
150
-                    if (! is_object($value) || method_exists($value, "__toString")) {
150
+                    if (!is_object($value) || method_exists($value, "__toString")) {
151 151
                         $result[$nextIndex] = $value;
152 152
                     }
153 153
                 }
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/MailService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $self = $this;
81 81
 
82 82
         $this->addInitializer(
83
-            function ($instance) use ($self) {
83
+            function($instance) use ($self) {
84 84
                 if ($instance instanceof TranslatorAwareInterface) {
85 85
                     $translator = $self->getServiceLocator()->get('translator');
86 86
                     $instance->setTranslator($translator);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             false
94 94
         );
95 95
         $this->addInitializer(
96
-            function ($instance) {
96
+            function($instance) {
97 97
                 if (method_exists($instance, 'init')) {
98 98
                     $instance->init();
99 99
                 }
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/MailServiceFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $configArray = isset($configArray['mails']) ? $configArray['mails'] : array();
27 27
         $config      = new MailServiceConfig($configArray);
28 28
         
29
-        $service   = new MailService($config);
29
+        $service = new MailService($config);
30 30
         
31 31
         return $service;
32 32
         
Please login to merge, or discard this patch.
module/Core/src/Core/Paginator/PaginatorFactoryAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@
 block discarded – undo
33 33
         $queryBuilder   = $repository->createQueryBuilder();
34 34
         $filter         = $serviceLocator->getServiceLocator()->get('filterManager')->get($this->getFilter());
35 35
 
36
-        $adapter       = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter);
36
+        $adapter = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter);
37 37
 
38
-        $service        = new Paginator($adapter);
38
+        $service = new Paginator($adapter);
39 39
         return $service;
40 40
     }
41 41
 
Please login to merge, or discard this patch.
module/Core/src/Core/Paginator/PaginatorServiceFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $configArray = isset($configArray['paginator_manager']) ? $configArray['paginator_manager'] : array();
33 33
         $config      = new PaginatorServiceConfig($configArray);
34 34
 
35
-        $service   = new PaginatorService($config);
35
+        $service = new PaginatorService($config);
36 36
 
37 37
         return $service;
38 38
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/DoctrineMongoODM/Event/EventArgs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     
46 46
     public function __call($method, $params)
47 47
     {
48
-        $type   = substr($method, 0, 3);
48
+        $type = substr($method, 0, 3);
49 49
         
50 50
         if ('get' == $type || 'set' == $type) {
51
-            $filter = function ($match) {
51
+            $filter = function($match) {
52 52
                 return '_' . strtolower($match[0]);
53 53
             };
54 54
             $key = lcfirst(substr($method, 3));
Please login to merge, or discard this patch.
Core/Repository/DoctrineMongoODM/Event/GenerateSearchKeywordsListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         }
59 59
         
60 60
         
61
-        $dm         = $eventArgs->getDocumentManager();
61
+        $dm = $eventArgs->getDocumentManager();
62 62
         $uow       = $dm->getUnitOfWork();
63 63
         $changeset = $uow->getDocumentChangeset($document);
64 64
         $filter    = $this->getKeywordsFilter();
Please login to merge, or discard this patch.
src/Core/Repository/DoctrineMongoODM/Event/PreUpdateDocumentsSubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
         $document->preUpdate($prePersist);
43 43
         
44 44
         if (!$prePersist) {
45
-            $dm         = $eventArgs->getDocumentManager();
46
-            $uow       = $dm->getUnitOfWork();
45
+            $dm = $eventArgs->getDocumentManager();
46
+            $uow = $dm->getUnitOfWork();
47 47
             $uow->recomputeSingleDocumentChangeSet($dm->getClassMetadata(get_class($document)), $document);
48 48
         }
49 49
 
Please login to merge, or discard this patch.
Core/src/Core/Repository/DoctrineMongoODM/Types/TimezoneAwareDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         }
100 100
         
101 101
         $timestamp = $value['date']->sec;
102
-        $date = new \DateTime('@'.$timestamp);
102
+        $date = new \DateTime('@' . $timestamp);
103 103
         $date->setTimezone(new \DateTimeZone($value['tz']));
104 104
         return $date;
105 105
     }
Please login to merge, or discard this patch.