Test Failed
Push — master ( 3cdfc8...d830a9 )
by Alex
04:20
created
src/MetadataV3/edm/IsOKTraits/TUnwrappedFunctionTypeTrait.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 = '[^ \t]{1,}(\.[^ \t]{1,}){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->isTQualifiedNameValid($string)) {
Please login to merge, or discard this patch.
MetadataV3/edm/IsOKTraits/TFunctionImportParameterAndReturnTypeTrait.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 = "Collection\([^ \t]{1,}(\.[^ \t]{1,}){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.
src/MetadataV3/edm/IsOKTraits/TParameterModeTrait.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 isTParameterModeValid($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 'In' == $string || 'Out' == $string || 'InOut' == $string;
Please login to merge, or discard this patch.
src/MetadataV3/edm/IsOKTraits/EDMSimpleTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function isEDMSimpleTypeValid($string)
16 16
     {
17 17
         if (!is_string($string)) {
18
-            $msg = "Input must be a string: ". get_class($this);
18
+            $msg = "Input must be a string: ".get_class($this);
19 19
             throw new \InvalidArgumentException($msg);
20 20
         }
21 21
         if (!in_array($string, $this->validType)) {
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/TActionTrait.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 isTActionValid($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 'Cascade' == $string || 'None' == $string;
Please login to merge, or discard this patch.
src/MetadataV3/edm/TEntityPropertyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
     public function isOK(&$msg = null)
244 244
     {
245 245
         if (!$this->isTGenerationPatternValid($this->storeGeneratedPattern)) {
246
-            $msg = "Store generation pattern must be a valid TGenerationPattern: " . get_class($this);
246
+            $msg = "Store generation pattern must be a valid TGenerationPattern: ".get_class($this);
247 247
             return false;
248 248
         }
249 249
         if (!$this->isValidArrayOK(
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/TTypeAttributesTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
     public function isTTypeAttributesValid(&$msg = null)
47 47
     {
48 48
         if (null == $this->name) {
49
-            $msg = "Name cannot be null: " . get_class($this);
49
+            $msg = "Name cannot be null: ".get_class($this);
50 50
             return false;
51 51
         }
52 52
         if (!$this->isTSimpleIdentifierValid($this->name)) {
53
-            $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this);
53
+            $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this);
54 54
             return false;
55 55
         }
56 56
         
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/TFunctionImportAttributesTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     public function isTFunctionImportAttributesValid(&$msg)
266 266
     {
267 267
         if (!$this->isTSimpleIdentifierValid($this->name)) {
268
-            $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this);
268
+            $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this);
269 269
             return false;
270 270
         }
271 271
         /*
@@ -274,11 +274,11 @@  discard block
 block discarded – undo
274 274
             return false;
275 275
         }*/
276 276
         if (!$this->isObjectNullOrType('\AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType', $this->entitySet)) {
277
-            $msg = "Entity set must be either null or an instance of TOperandType: " . get_class($this);
277
+            $msg = "Entity set must be either null or an instance of TOperandType: ".get_class($this);
278 278
             return false;
279 279
         }
280 280
         if (null != $this->methodAccess && $this->isTAccessOk($this->methodAccess)) {
281
-            $msg = "Method access must be a valid TAccess: " . get_class($this);
281
+            $msg = "Method access must be a valid TAccess: ".get_class($this);
282 282
             return false;
283 283
         }
284 284
         if (!$this->isValidArrayOK(
Please login to merge, or discard this patch.