Completed
Push — master ( d830a9...721bff )
by Christopher
39:46
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/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/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.
src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -365,47 +365,47 @@
 block discarded – undo
365 365
     public function isGInlineExpressionsValid(&$msg = null)
366 366
     {
367 367
         if (null != $this->string && !is_string($this->string)) {
368
-            $msg = "String must be a string: " . get_class($this);
368
+            $msg = "String must be a string: ".get_class($this);
369 369
             return false;
370 370
         }
371 371
         if (null != $this->binary && !$this->hexBinary($this->binary)) {
372
-            $msg = "Binary must be hexadecimal: " . get_class($this);
372
+            $msg = "Binary must be hexadecimal: ".get_class($this);
373 373
             return false;
374 374
         }
375 375
         if (null != $this->int && $this->int !== intval($this->int)) {
376
-            $msg = "Integer must be integral: " . get_class($this);
376
+            $msg = "Integer must be integral: ".get_class($this);
377 377
             return false;
378 378
         }
379 379
         if (null != $this->float && $this->float !== floatval($this->float)) {
380
-            $msg = "Float must be floating-point: " . get_class($this);
380
+            $msg = "Float must be floating-point: ".get_class($this);
381 381
             return false;
382 382
         }
383 383
         if (null != $this->guid && !$this->isTGuidLiteralValid($this->guid)) {
384
-            $msg = "Guid must be valid GUID: " . get_class($this);
384
+            $msg = "Guid must be valid GUID: ".get_class($this);
385 385
             return false;
386 386
         }
387 387
         if (null != $this->bool && $this->bool !== boolval($this->bool)) {
388
-            $msg = "Bool must be boolean: " . get_class($this);
388
+            $msg = "Bool must be boolean: ".get_class($this);
389 389
             return false;
390 390
         }
391 391
         if (null != $this->decimal && $this->decimal !== floatval($this->decimal)) {
392
-            $msg = "Decimal must be decimal: " . get_class($this);
392
+            $msg = "Decimal must be decimal: ".get_class($this);
393 393
             return false;
394 394
         }
395 395
         if (null != $this->enum && !$this->isTQualifiedNameValid($this->enum)) {
396
-            $msg = "Enum must be a valid TQualifiedName: " . get_class($this);
396
+            $msg = "Enum must be a valid TQualifiedName: ".get_class($this);
397 397
             return false;
398 398
         }
399 399
         if (null != $this->path && !$this->isTQualifiedNameValid($this->path)) {
400
-            $msg = "Path must be a valid TQualifiedName: " . get_class($this);
400
+            $msg = "Path must be a valid TQualifiedName: ".get_class($this);
401 401
             return false;
402 402
         }
403 403
         if (null != $this->dateTime && $this->dateTime !== $this->dateTime($this->dateTime)) {
404
-            $msg = "DateTime must be a valid date/time: " . get_class($this);
404
+            $msg = "DateTime must be a valid date/time: ".get_class($this);
405 405
             return false;
406 406
         }
407 407
         if (null != $this->dateTimeOffset && $this->dateTimeOffset !== $this->dateTime($this->dateTimeOffset)) {
408
-            $msg = "DateTimeOffset must be a valid date/time: " . get_class($this);
408
+            $msg = "DateTimeOffset must be a valid date/time: ".get_class($this);
409 409
             return false;
410 410
         }
411 411
 
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/TFunctionImportParameterAttributesTrait.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -242,31 +242,31 @@
 block discarded – undo
242 242
     public function isTFunctionImportParameterAttributesValid(&$msg = null)
243 243
     {
244 244
         if (!$this->isTSimpleIdentifierValid($this->name)) {
245
-            $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this);
245
+            $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this);
246 246
             return false;
247 247
         }
248 248
         if (!$this->isTFunctionImportParameterAndReturnTypeValid($this->type)) {
249
-            $msg = "Type must be a valid TFunctionImportParameterAndReturnType: " . get_class($this);
249
+            $msg = "Type must be a valid TFunctionImportParameterAndReturnType: ".get_class($this);
250 250
             return false;
251 251
         }
252 252
         if (null != $this->mode && !$this->isTParameterModeValid($this->mode)) {
253
-            $msg = "Mode must be a valid TParameterMode: " . get_class($this);
253
+            $msg = "Mode must be a valid TParameterMode: ".get_class($this);
254 254
             return false;
255 255
         }
256 256
         if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) {
257
-            $msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this);
257
+            $msg = "Max length must be a valid TMaxLengthFacet: ".get_class($this);
258 258
             return false;
259 259
         }
260 260
         if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
261
-            $msg = "Precision must be a valid TPrecisionFacet: " . get_class($this);
261
+            $msg = "Precision must be a valid TPrecisionFacet: ".get_class($this);
262 262
             return false;
263 263
         }
264 264
         if (null != $this->scale && !$this->isTScaleFacetValid($this->scale)) {
265
-            $msg = "Scale must be a valid TScaleFacet: " . get_class($this);
265
+            $msg = "Scale must be a valid TScaleFacet: ".get_class($this);
266 266
             return false;
267 267
         }
268 268
         if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
269
-            $msg = "SRID must be a valid TSRIDFacet: " . get_class($this);
269
+            $msg = "SRID must be a valid TSRIDFacet: ".get_class($this);
270 270
             return false;
271 271
         }
272 272
 
Please login to merge, or discard this patch.