Passed
Push — feature/initial-implementation ( fae671...591f29 )
by Fike
02:37
created
src/API/Entity/Descriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * @return string[]
71 71
      */
72
-    public function getParentNames(): ?array
72
+    public function getParentNames(): ? array
73 73
     {
74 74
         return $this->parentNames;
75 75
     }
Please login to merge, or discard this patch.
src/API/IndexingInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AmaTeam\ElasticSearch\API;
6 6
 
Please login to merge, or discard this patch.
src/API/Entity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AmaTeam\ElasticSearch\API;
6 6
 
Please login to merge, or discard this patch.
src/Entity/Loader.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
         }
83 83
         $lines = [sprintf('Entity metadata `%s` has failed validation:', $entity->getName())];
84 84
         foreach ($violations as $violation) {
85
-            $lines[] = $violation->getPropertyPath() . ': ' . $violation->getMessage();
85
+            $lines[] = $violation->getPropertyPath().': '.$violation->getMessage();
86 86
         }
87 87
         throw new ValidationException(implode(PHP_EOL, $lines), $violations);
88 88
     }
Please login to merge, or discard this patch.
src/Utility/Violations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public static function remap(ConstraintViolationInterface $violation, $root, string $path): ConstraintViolation
11 11
     {
12
-        $propertyPath = $path . '.' . $violation->getPropertyPath();
12
+        $propertyPath = $path.'.'.$violation->getPropertyPath();
13 13
         $cause = null;
14 14
         $constraint = null;
15 15
         if ($violation instanceof ConstraintViolation) {
Please login to merge, or discard this patch.