Completed
Branch master (f0282f)
by Christopher
04:55
created
src/StringTraits/XSDTopLevelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             $rawDate = $input;
83 83
         }
84 84
 
85
-        return $rawDate->format('Y-m-d').'T'.$rawDate->format('H:i:s');
85
+        return $rawDate->format('Y-m-d') . 'T' . $rawDate->format('H:i:s');
86 86
     }
87 87
 
88 88
     public function hexBinary($input)
Please login to merge, or discard this patch.
src/IsOKTraits/IsOKToolboxTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             return true;
76 76
         }
77 77
         if (!$object instanceof $instanceOf) {
78
-            $msg = "Supplied object not an instance of ".$instanceOf. ": " . get_class($this);
78
+            $msg = "Supplied object not an instance of " . $instanceOf . ": " . get_class($this);
79 79
             return false;
80 80
         }
81 81
         return $object->isOK($msg);
Please login to merge, or discard this patch.
src/MetadataManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         array $principalConstraintProperty = null,
233 233
         array $dependentConstraintProperty = null
234 234
     ) {
235
-        $multCombo = [ '*' => ['*', '1'], '0..1' => ['1'], '1' => ['*', '0..1']];
235
+        $multCombo = ['*' => ['*', '1'], '0..1' => ['1'], '1' => ['*', '0..1']];
236 236
         $multKeys = array_keys($multCombo);
237 237
         if (null != $dependentNavigationProperty) {
238 238
             if ($dependentNavigationProperty->getRelationship() != $principalNavigationProperty->getRelationship()) {
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         }
254 254
         if (!in_array($dependentMultiplicity, $multCombo[$principalMultiplicity])) {
255 255
             throw new \InvalidArgumentException(
256
-                "Invalid multiplicity combination - ". $principalMultiplicity . ' ' . $dependentMultiplicity
256
+                "Invalid multiplicity combination - " . $principalMultiplicity . ' ' . $dependentMultiplicity
257 257
             );
258 258
         }
259 259
 
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      * @param $longDescription
441 441
      * @param $NewEntity
442 442
      */
443
-    private function addDocumentation($summary, $longDescription, IsOK &$NewEntity)
443
+    private function addDocumentation($summary, $longDescription, IsOK & $NewEntity)
444 444
     {
445 445
         if (null != $summary && null != $longDescription) {
446 446
             $documentation = $this->generateDocumentation($summary, $longDescription);
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/GExpressionTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -687,12 +687,12 @@  discard block
 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
             }
@@ -725,7 +725,7 @@  discard block
 block discarded – undo
725 725
                 return false;
726 726
             }
727 727
             if (!$this->isObjectNullOrType($type, $this->$key)) {
728
-                $msg = 'Type mismatch - should be ' .$type. ", is ".get_class($this->$key). ": " . get_class($this);
728
+                $msg = 'Type mismatch - should be ' . $type . ", is " . get_class($this->$key) . ": " . get_class($this);
729 729
                 return false;
730 730
             }
731 731
         }
Please login to merge, or discard this patch.
src/MetadataV3/edm/EntityContainer/FunctionImportAnonymousType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         }
141 141
 
142 142
         $numParms = count($this->parameter);
143
-        for ($i = 0; $i < $numParms -2; $i++) {
143
+        for ($i = 0; $i < $numParms - 2; $i++) {
144 144
             $outName = $this->parameter[$i]->getName();
145 145
             for ($j = $i + 1; $j < $numParms - 1; $j++) {
146 146
                 $inName = $this->parameter[$j]->getName();
Please login to merge, or discard this patch.
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             $numDefaults += $isDefault ? 1 : 0;
148 148
         }
149 149
         if (1 != $numDefaults) {
150
-            $msg = "Exactly one entityContainer must be set as default container, actually have ".$numDefaults;
150
+            $msg = "Exactly one entityContainer must be set as default container, actually have " . $numDefaults;
151 151
             return false;
152 152
         }
153 153
 
@@ -203,7 +203,7 @@  discard block
 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/IsOKTraits/TUnwrappedFunctionTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $regex = '/[^ \t]{1,}(\.[^ \t]{1,}){0,}/';
18 18
 
19 19
         if (!is_string($string)) {
20
-            $msg = "Input must be a string: ". get_class($this);
20
+            $msg = "Input must be a string: " . get_class($this);
21 21
             throw new \InvalidArgumentException($msg);
22 22
         }
23 23
         if ($this->isTQualifiedNameValid($string)) {
Please login to merge, or discard this patch.
src/MetadataV3/edm/IsOKTraits/TConcurrencyModeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     public function isTConcurrencyModeValid($string)
8 8
     {
9 9
         if (!is_string($string)) {
10
-            $msg = "Input must be a string: ". get_class($this);
10
+            $msg = "Input must be a string: " . get_class($this);
11 11
             throw new \InvalidArgumentException($msg);
12 12
         }
13 13
         return 'Fixed' == $string || 'None' == $string;
Please login to merge, or discard this patch.
src/MetadataV3/edm/IsOKTraits/TPropertyTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $regex = "/[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}/";
14 14
 
15 15
         if (!is_string($string)) {
16
-            $msg = "Input must be a string: ". get_class($this);
16
+            $msg = "Input must be a string: " . get_class($this);
17 17
             throw new \InvalidArgumentException($msg);
18 18
         }
19 19
         if ($this->isEDMSimpleTypeValid($string)) {
Please login to merge, or discard this patch.