Completed
Push — master ( 852c83...41042e )
by Alexey
07:15 queued 05:22
created
src/Mapper/Structure.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
      * @return string
177 177
      */
178 178
     private function getCacheDirectory() {
179
-        return dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR .
180
-            'cache' . DIRECTORY_SEPARATOR;
179
+        return dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.
180
+            'cache'.DIRECTORY_SEPARATOR;
181 181
     }
182 182
 
183 183
     /**
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     protected function getSkipAttributesByParent($parentAttribute) {
259 259
         $skipAttributes = [];
260 260
 
261
-        $parentAttribute = $parentAttribute . '.';
261
+        $parentAttribute = $parentAttribute.'.';
262 262
 
263 263
         foreach ($this->getSkipAttributes() as $skipAttribute) {
264 264
             if (strpos($skipAttribute, $parentAttribute) === 0) {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      * @return string
375 375
      */
376 376
     protected function createSetter($attribute) {
377
-        return 'set' . ucfirst($attribute);
377
+        return 'set'.ucfirst($attribute);
378 378
     }
379 379
 
380 380
     /**
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
      * @return string
383 383
      */
384 384
     protected function createGetter($attribute) {
385
-        return 'get' . ucfirst($attribute);
385
+        return 'get'.ucfirst($attribute);
386 386
     }
387 387
 
388 388
     /**
Please login to merge, or discard this patch.
src/Exception/SmartValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $this->setValue($value);
40 40
 
41 41
         $message = 'Value is unsupported. Must be json string, object or array; '
42
-            . $this->getValueType() . ' given';
42
+            . $this->getValueType().' given';
43 43
 
44 44
         parent::__construct($message);
45 45
     }
Please login to merge, or discard this patch.
src/Exception/InvalidJson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function __construct($json) {
39 39
         $this->setJson($json);
40 40
 
41
-        $message = 'Json "' . $this->getJson() . '" is invalid';
41
+        $message = 'Json "'.$this->getJson().'" is invalid';
42 42
 
43 43
         parent::__construct($message);
44 44
     }
Please login to merge, or discard this patch.
src/Exception/FieldValidator/UnknownField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * return string
15 15
      */
16 16
     protected function createMessage() {
17
-        return '"' . $this->getClass() . '" class has not a "' . $this->getField() . '" field';
17
+        return '"'.$this->getClass().'" class has not a "'.$this->getField().'" field';
18 18
     }
19 19
 
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exception/FieldValidator/MustBeSequence.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * return string
15 15
      */
16 16
     protected function createMessage() {
17
-        return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be sequence';
17
+        return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be sequence';
18 18
     }
19 19
 
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exception/FieldValidator/MustBeObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * return string
15 15
      */
16 16
     protected function createMessage() {
17
-        return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be an object';
17
+        return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be an object';
18 18
     }
19 19
 
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exception/FieldValidator/MustBeSimple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * return string
15 15
      */
16 16
     protected function createMessage() {
17
-        return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be a simple type';
17
+        return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be a simple type';
18 18
     }
19 19
 
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.