Test Failed
Pull Request — 1.x (#36)
by
unknown
04:32
created
src/Driver/Postgres/PostgresDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
             return new StatementException\ConnectionException($exception, $query);
190 190
         }
191 191
 
192
-        if ((int) $exception->getCode() >= 23000 && (int) $exception->getCode() < 24000) {
192
+        if ((int)$exception->getCode() >= 23000 && (int)$exception->getCode() < 24000) {
193 193
             return new StatementException\ConstrainException($exception, $query);
194 194
         }
195 195
 
Please login to merge, or discard this patch.
src/polyfill.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
 declare(strict_types=1);
11 11
 
12
-spl_autoload_register(static function (string $class) {
12
+spl_autoload_register(static function(string $class) {
13 13
     if (strpos($class, 'Spiral\\Database\\') === 0) {
14 14
         $original = 'Cycle\\Database\\' . substr($class, 16);
15 15
 
Please login to merge, or discard this patch.