Passed
Push — master ( 2fb416...eb1ffc )
by Gaetano
03:41
created
Core/Matcher/UrlWildcardMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
                 // return unique contents
94 94
                 $urlWildcard = $this->repository->getURLWildcardService()->load($urlId);
95 95
                 $urls[$urlWildcard->id] = $urlWildcard;
96
-            } catch(NotFoundException $e) {
96
+            } catch (NotFoundException $e) {
97 97
                 if (!$tolerateMisses) {
98 98
                     throw $e;
99 99
                 }
Please login to merge, or discard this patch.
Core/Matcher/UrlAliasMatcher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 // return unique items
109 109
                 $UrlAlias = $this->repository->getUrlAliasService()->load($urlId);
110 110
                 $urls[$UrlAlias->id] = $UrlAlias;
111
-            } catch(NotFoundException $e) {
111
+            } catch (NotFoundException $e) {
112 112
                 if (!$tolerateMisses) {
113 113
                     throw $e;
114 114
                 }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 // return unique contents
134 134
                 $UrlAlias = $this->repository->getUrlAliasService()->lookup($url);
135 135
                 $urls[$UrlAlias->id] = $UrlAlias;
136
-            } catch(NotFoundException $e) {
136
+            } catch (NotFoundException $e) {
137 137
                 if (!$tolerateMisses) {
138 138
                     throw $e;
139 139
                 }
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
                         $urls[$UrlAlias->id] = $UrlAlias;
174 174
                     }
175 175
                 }
176
-            } catch(NotFoundException $e) {
176
+            } catch (NotFoundException $e) {
177 177
                 if (!$tolerateMisses) {
178 178
                     throw $e;
179 179
                 }
Please login to merge, or discard this patch.
Core/FieldHandler/EzMatrix.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@  discard block
 block discarded – undo
28 28
             if (count($fieldValue) === 2 && isset($fieldValue['columns']) && isset($fieldValue['rows'])) {
29 29
                 $fieldValue = $fieldValue['rows'];
30 30
             }
31
-            foreach($fieldValue as $data) {
31
+            foreach ($fieldValue as $data) {
32 32
                 $rows[] = new \EzSystems\MatrixBundle\FieldType\Matrix\Row($data);
33 33
             }
34 34
             return new \EzSystems\MatrixBundle\FieldType\Matrix\Value($rows);
35 35
         } else {
36 36
             $rows = array();
37
-            foreach($fieldValue as $data) {
37
+            foreach ($fieldValue as $data) {
38 38
                 $rows[] = new \EzSystems\EzPlatformMatrixFieldtype\FieldType\Value\Row($data);
39 39
             }
40 40
             return new \EzSystems\EzPlatformMatrixFieldtype\FieldType\Value($rows);
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
         $data = array();
47 47
 
48 48
         if ($this->usingLegacyFieldType()) {
49
-            foreach($fieldValue->getRows() as $row) {
49
+            foreach ($fieldValue->getRows() as $row) {
50 50
                 $data[] = $row->toArray();
51 51
             }
52 52
         } else {
53
-            foreach($fieldValue->getRows() as $row) {
53
+            foreach ($fieldValue->getRows() as $row) {
54 54
                 $data[] = $row->getCells();
55 55
             }
56 56
         }
Please login to merge, or discard this patch.