Passed
Pull Request — master (#21)
by Christopher
10:39 queued 06:18
created
src/MetadataV3/edm/EntityContainer/FunctionImportAnonymousType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             for ($j = $i + 1; $j < $numParms; $j++) {
147 147
                 assert(
148 148
                     $this->parameter[$j] instanceof TFunctionImportParameterType,
149
-                    get_class($this->parameter[$j]). ' ' . $j
149
+                    get_class($this->parameter[$j]) . ' ' . $j
150 150
                 );
151 151
                 $inName = $this->parameter[$j]->getName();
152 152
                 if ($outName == $inName) {
Please login to merge, or discard this patch.
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
                     return false;
204 204
                 }
205 205
                 if (!in_array($navProp->getFromRole(), $roles)) {
206
-                    $msg = 'Navigation Property Role ' .$navProp->getToRole()
206
+                    $msg = 'Navigation Property Role ' . $navProp->getToRole()
207 207
                             . ' lacks a matching Property in the assocation';
208 208
                     return false;
209 209
                 }
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/GExpressionTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -687,12 +687,12 @@
 block discarded – undo
687 687
                 $counter += isset($this->$name) ? 1 : 0;
688 688
             }
689 689
             if (-1 < $this->gExpressionMinimum && $counter < $this->gExpressionMinimum) {
690
-                $msg = $counter . ' fields not null.  Need minimum of '.$this->gExpressionMinimum. ': '
690
+                $msg = $counter . ' fields not null.  Need minimum of ' . $this->gExpressionMinimum . ': '
691 691
                         . get_class($this);
692 692
                 return false;
693 693
             }
694 694
             if (-1 < $this->gExpressionMaximum && $counter > $this->gExpressionMaximum) {
695
-                $msg = $counter . ' fields not null.  Need maximum of '.$this->gExpressionMaximum. ': '
695
+                $msg = $counter . ' fields not null.  Need maximum of ' . $this->gExpressionMaximum . ': '
696 696
                         . get_class($this);
697 697
                 return false;
698 698
             }
Please login to merge, or discard this patch.
src/MetadataManager.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
         if (null != $dependentNavigationProperty) {
310 310
             if ($dependentNavigationProperty->getRelationship() != $principalNavigationProperty->getRelationship()) {
311 311
                 $msg = 'If you have both a dependent property and a principal property,'
312
-                       .' relationship should match';
312
+                        .' relationship should match';
313 313
                 throw new \InvalidArgumentException($msg);
314 314
             }
315 315
             if ($dependentNavigationProperty->getFromRole() != $principalNavigationProperty->getToRole()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -442,7 +442,7 @@
 block discarded – undo
442 442
 
443 443
         $namespace = $this->getNamespace();
444 444
         $typeName = $expectedReturnType->getName();
445
-        $fqTypeName = $namespace.$typeName;
445
+        $fqTypeName = $namespace . $typeName;
446 446
         $fqSetName = ($entitySet == null) ? $typeName : $entitySet->getName();
447 447
 
448 448
         $returnType = new TFunctionImportReturnTypeType();
Please login to merge, or discard this patch.
src/MetadataV3/edm/TEntityTypeType.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
             $propName = $prop->getName();
473 473
             if (in_array($propName, $pArray)) {
474 474
                 $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on '
475
-                       . $this->getName() . ' '. __CLASS__;
475
+                        . $this->getName() . ' '. __CLASS__;
476 476
                 return false;
477 477
             }
478 478
             $pArray[] = $propName;
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
             $propName = $prop->getName();
482 482
             if (in_array($propName, $pArray)) {
483 483
                 $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on '
484
-                       . $this->getName() . ' '. __CLASS__;
484
+                        . $this->getName() . ' '. __CLASS__;
485 485
                 return false;
486 486
             }
487 487
             $pArray[] = $prop->getName();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -471,8 +471,8 @@  discard block
 block discarded – undo
471 471
         foreach ($this->getProperty() as $prop) {
472 472
             $propName = $prop->getName();
473 473
             if (in_array($propName, $pArray)) {
474
-                $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on '
475
-                       . $this->getName() . ' '. __CLASS__;
474
+                $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for ' . $propName . ' on '
475
+                       . $this->getName() . ' ' . __CLASS__;
476 476
                 return false;
477 477
             }
478 478
             $pArray[] = $propName;
@@ -480,8 +480,8 @@  discard block
 block discarded – undo
480 480
         foreach ($this->getNavigationProperty() as $prop) {
481 481
             $propName = $prop->getName();
482 482
             if (in_array($propName, $pArray)) {
483
-                $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on '
484
-                       . $this->getName() . ' '. __CLASS__;
483
+                $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for ' . $propName . ' on '
484
+                       . $this->getName() . ' ' . __CLASS__;
485 485
                 return false;
486 486
             }
487 487
             $pArray[] = $prop->getName();
Please login to merge, or discard this patch.