Passed
Push — master ( 8abef8...fa066b )
by Alex
04:33
created
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 die($this->getNamespace());
150 150
                 return false;
151 151
             }*/
152
-            $eSetType = str_replace($this->getNamespace() . ".", "", $eSetType);
152
+            $eSetType = str_replace($this->getNamespace().".", "", $eSetType);
153 153
             if (!in_array($eSetType, $entityTypeNames)) {
154 154
                 $msg = "entitySet Types should have a matching type name in entity Types";
155 155
                 return false;
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         // Check Associations to associationSets
160 160
         if (count($associationSets) != count($associationNames)) {
161
-            $msg = "we have " . count($associationSets) . "association sets and " . count($associationNames)
161
+            $msg = "we have ".count($associationSets)."association sets and ".count($associationNames)
162 162
                    . " associations, they should be the same";
163 163
         }
164 164
         if (count($associationNames) * 2 < count($navigationProperties)) {
@@ -168,22 +168,22 @@  discard block
 block discarded – undo
168 168
 
169 169
         foreach ($associationNames as $associationName => $associationEnds) {
170 170
             if (!array_key_exists($associationName, $associationSets)) {
171
-                $msg = "association " . $associationName . " exists without matching associationSet";
171
+                $msg = "association ".$associationName." exists without matching associationSet";
172 172
                 return false;
173 173
             }
174 174
 
175 175
             if (!array_key_exists($associationName, $navigationProperties)) {
176
-                $msg = "association " . $associationName . " exists without matching Natvigation Property";
176
+                $msg = "association ".$associationName." exists without matching Natvigation Property";
177 177
                 return false;
178 178
             }
179 179
             $roles = [$associationEnds[0]->getRole(), $associationEnds[1]->getRole()];
180 180
             if (!in_array($associationSets[$associationName][0]->getRole(), $roles)) {
181
-                $msg = "association Set role " . $associationSets[$associationName][0]->getRole()
181
+                $msg = "association Set role ".$associationSets[$associationName][0]->getRole()
182 182
                        . "lacks a matching property in the attached association";
183 183
                 return false;
184 184
             }
185 185
             if (!in_array($associationSets[$associationName][1]->getRole(), $roles)) {
186
-                $msg = "association Set role " . $associationSets[$associationName][1]->getRole()
186
+                $msg = "association Set role ".$associationSets[$associationName][1]->getRole()
187 187
                        . "lacks a matching property in the attached association";
188 188
                 return false;
189 189
             }
Please login to merge, or discard this patch.