Passed
Push — master ( 86129b...620b05 )
by Christopher
01:22
created
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                 die($this->getNamespace());
146 146
                 return false;
147 147
             }*/
148
-            $eSetType = str_replace($this->getNamespace() . ".", "", $eSetType);
148
+            $eSetType = str_replace($this->getNamespace().".", "", $eSetType);
149 149
             if (!in_array($eSetType, $entityTypeNames)) {
150 150
                 $msg = "entitySet Types should have a matching type name in entity Types";
151 151
                 return false;
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
         // Check Associations to assocationSets
156 156
         if (count($assocationSets) != count($associationNames)) {
157
-            $msg = "we have " . count($assocationSets) . "assocation sets and " . count($associationNames) . " Assocations, they should be the same";
157
+            $msg = "we have ".count($assocationSets)."assocation sets and ".count($associationNames)." Assocations, they should be the same";
158 158
         }
159 159
         if (count($associationNames) * 2 < count($navigationProperties)) {
160 160
             $msg = "we have two many navigation propertys. should have no more then double the number of assocations.";
@@ -162,20 +162,20 @@  discard block
 block discarded – undo
162 162
 
163 163
         foreach ($associationNames as $assocationName => $assocationEnds) {
164 164
             if (!array_key_exists($assocationName, $assocationSets)) {
165
-                $msg = "assocation " . $assocationName . " exists without matching assocationSet";
165
+                $msg = "assocation ".$assocationName." exists without matching assocationSet";
166 166
                 return false;
167 167
             }
168 168
 
169 169
             if (!array_key_exists($assocationName, $navigationProperties)) {
170
-                $msg = "assocation " . $assocationName . " exists without matching Natvigation Property";
170
+                $msg = "assocation ".$assocationName." exists without matching Natvigation Property";
171 171
                 return false;
172 172
             }
173 173
             if (!in_array($assocationSets[$assocationName][0]->getRole(), [$assocationEnds[0]->getRole(), $assocationEnds[1]->getRole()])) {
174
-                $msg = "assocation Set role " . $assocationSets[$assocationName][0]->getRole() . "lacks a matching property in the attached assocation";
174
+                $msg = "assocation Set role ".$assocationSets[$assocationName][0]->getRole()."lacks a matching property in the attached assocation";
175 175
                 return false;
176 176
             }
177 177
             if (!in_array($assocationSets[$assocationName][1]->getRole(), [$assocationEnds[0]->getRole(), $assocationEnds[1]->getRole()])) {
178
-                $msg = "assocation Set role " . $assocationSets[$assocationName][0]->getRole() . "lacks a matching property in the attached assocation";
178
+                $msg = "assocation Set role ".$assocationSets[$assocationName][0]->getRole()."lacks a matching property in the attached assocation";
179 179
                 return false;
180 180
             }
181 181
         }
Please login to merge, or discard this patch.