Test Failed
Pull Request — main (#372)
by
unknown
16:58 queued 06:32
created
src/MartinGeorgiev/Doctrine/DBAL/Types/Jsonb.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      *
43 43
      * @param string|null $value the value to convert
44 44
      */
45
-    public function convertToPHPValue($value, AbstractPlatform $platform): null|array|bool|float|int|string
45
+    public function convertToPHPValue($value, AbstractPlatform $platform): null | array | bool | float | int | string
46 46
     {
47 47
         if ($value === null) {
48 48
             return null;
Please login to merge, or discard this patch.
src/MartinGeorgiev/Utils/PostgresJsonToPHPArrayTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @throws InvalidJsonItemForPHPException When the PostgreSQL value is not JSON-decodable
55 55
      */
56
-    public static function transformPostgresJsonEncodedValueToPHPValue(string $postgresValue): null|array|bool|float|int|string
56
+    public static function transformPostgresJsonEncodedValueToPHPValue(string $postgresValue): null | array | bool | float | int | string
57 57
     {
58 58
         try {
59 59
             // @phpstan-ignore-next-line
Please login to merge, or discard this patch.
src/MartinGeorgiev/Utils/PostgresArrayToPHPArrayTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
         return \is_numeric($value);
204 204
     }
205 205
 
206
-    private static function processNumericValue(string $value): float|int
206
+    private static function processNumericValue(string $value): float | int
207 207
     {
208 208
         // Convert to int or float as appropriate
209 209
         if (\str_contains($value, '.') || \stripos($value, 'e') !== false) {
Please login to merge, or discard this patch.
src/MartinGeorgiev/Doctrine/DBAL/Types/JsonTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         return $postgresValue;
33 33
     }
34 34
 
35
-    protected function transformFromPostgresJson(string $postgresValue): null|array|bool|float|int|string
35
+    protected function transformFromPostgresJson(string $postgresValue): null | array | bool | float | int | string
36 36
     {
37 37
         return PostgresJsonToPHPArrayTransformer::transformPostgresJsonEncodedValueToPHPValue($postgresValue);
38 38
     }
Please login to merge, or discard this patch.
src/MartinGeorgiev/Utils/MathUtils.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
      * - The $(start|end)Inclusive determine whether the comparison is "lesser/greater than", or "lesser/greater or equal than"
15 15
      */
16 16
     public static function inRange(
17
-        null|float|int $value,
18
-        null|float|int $start = null,
19
-        null|float|int $end = null,
17
+        null | float | int $value,
18
+        null | float | int $start = null,
19
+        null | float | int $end = null,
20 20
         bool $startInclusive = true,
21 21
         bool $endInclusive = false,
22 22
     ): bool {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             && (null === $end || $isLesser);
46 46
     }
47 47
 
48
-    public static function stringToNumber(?string $number): null|float|int
48
+    public static function stringToNumber(?string $number): null | float | int
49 49
     {
50 50
         if (!\is_numeric($number)) {
51 51
             return null;
Please login to merge, or discard this patch.
src/MartinGeorgiev/Model/ArithmeticRange.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 class ArithmeticRange extends BaseRange
13 13
 {
14 14
     public function __construct(
15
-        public null|float|int $lower,
16
-        public null|float|int $upper,
15
+        public null | float | int $lower,
16
+        public null | float | int $upper,
17 17
         public bool $lowerInclusive = true,
18 18
         public bool $upperInclusive = false,
19 19
     ) {
Please login to merge, or discard this patch.