Completed
Push — master ( aa5a73...5f3c84 )
by Ondřej
02:54
created
src/Ivory/Lang/Sql/Types.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Lang\Sql;
5 5
 
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 class Types
10 10
 {
11 11
     const BIGINT_MIN = '-9223372036854775808'; // NOTE: written as string not to lose precision on platforms where this
12
-    const BIGINT_MAX = '999999999999';  //       would be converted to float
12
+    const BIGINT_MAX = '999999999999'; //       would be converted to float
13 13
 
14 14
     /**
15 15
      * Lists names of types defined by SQL as reserved ones.
Please login to merge, or discard this patch.
src/Ivory/Data/Relation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Data;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Data/Set/DictionarySet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Data\Set;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Data/Map/ArrayRelationMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Data\Map;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Value/FixedBitString.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Value;
5 5
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      * @return FixedBitString
32 32
      * @throws \InvalidArgumentException if <tt>$length</tt> is a non-positive number (PostgreSQL forbids it)
33 33
      */
34
-    public static function fromString(string $bits, ?int $length = null): FixedBitString
34
+    public static function fromString(string $bits, ?int $length = null) : FixedBitString
35 35
     {
36 36
         $bits = (string)$bits;
37 37
         $bitsLen = strlen($bits);
Please login to merge, or discard this patch.
src/Ivory/Value/TimestampTz.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Value;
5 5
 
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
      *                       object;
250 250
      *                     <tt>null</tt> iff the date/time is not finite
251 251
      */
252
-    public function toParts(): ?array
252
+    public function toParts(): ? array
253 253
     {
254 254
         if ($this->inf) {
255 255
             return null;
Please login to merge, or discard this patch.
src/Ivory/Value/BitString.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Value;
5 5
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * @return FixedBitString the substring of the bit string
143 143
      * @throws UndefinedOperationException when <tt>$for</tt> is negative
144 144
      */
145
-    public function substring(int $from, ?int $for = null): FixedBitString
145
+    public function substring(int $from, ?int $for = null) : FixedBitString
146 146
     {
147 147
         if ($for < 0) {
148 148
             throw new UndefinedOperationException('negative number of bits to take');
Please login to merge, or discard this patch.
src/Ivory/Value/Time.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Value;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Value/NetAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Value;
5 5
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
                 $i += $lzsLen - 1;
280 280
                 continue;
281 281
             }
282
-            $result .= (ltrim($fields[$i], '0') ? : '0');
282
+            $result .= (ltrim($fields[$i], '0') ?: '0');
283 283
         }
284 284
         if ($lzsStart + $lzsLen == 8) {
285 285
             $result .= ':';
Please login to merge, or discard this patch.