Test Failed
Branch 2.x (50df1b)
by Aleksei
12:51
created
src/Config/SQLServer/DsnConnectionConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param array $options
35 35
      */
36 36
     public function __construct(
37
-        string|\Stringable $dsn,
37
+        string | \Stringable $dsn,
38 38
         ?string $user = null,
39 39
         ?string $password = null,
40 40
         array $options = []
Please login to merge, or discard this patch.
src/Config/PostgresDriverConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function __construct(
45 45
         ConnectionConfig $connection,
46
-        iterable|string $schema = self::DEFAULT_SCHEMA,
46
+        iterable | string $schema = self::DEFAULT_SCHEMA,
47 47
         string $driver = PostgresDriver::class,
48 48
         bool $reconnect = true,
49 49
         string $timezone = 'UTC',
@@ -69,10 +69,10 @@  discard block
 block discarded – undo
69 69
      * @param iterable<non-empty-string>|non-empty-string $schema
70 70
      * @return array<non-empty-string>
71 71
      */
72
-    private function bootSchema(iterable|string $schema): array
72
+    private function bootSchema(iterable | string $schema): array
73 73
     {
74 74
         // Cast any schema config variants to array
75
-        $schema = match (true) {
75
+        $schema = match(true) {
76 76
             $schema instanceof \Traversable => \iterator_to_array($schema),
77 77
             \is_string($schema) => [$schema],
78 78
             default => $schema
Please login to merge, or discard this patch.
src/DatabaseManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             return $this->databases[$database];
104 104
         }
105 105
 
106
-        if (! $this->config->hasDatabase($database)) {
106
+        if (!$this->config->hasDatabase($database)) {
107 107
             throw new DBALException(
108 108
                 "Unable to create Database, no presets for '{$database}' found"
109 109
             );
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
         if ($driverObject instanceof LoggerAwareInterface) {
170 170
             $logger = $this->getLoggerForDriver($driverObject);
171
-            if (! $logger instanceof NullLogger) {
171
+            if (!$logger instanceof NullLogger) {
172 172
                 $driverObject->setLogger($logger);
173 173
             }
174 174
         }
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 
215 215
     private function getLoggerForDriver(DriverInterface $driver): LoggerInterface
216 216
     {
217
-        if (! $this->loggerFactory) {
217
+        if (!$this->loggerFactory) {
218 218
             return $this->logger ??= new NullLogger();
219 219
         }
220 220
 
Please login to merge, or discard this patch.
src/Schema/AbstractTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -834,7 +834,7 @@
 block discarded – undo
834 834
             foreach ($target->getForeignKeys() as $foreign) {
835 835
                 $foreign->columns(
836 836
                     array_map(
837
-                        static function ($column) use ($initial, $name) {
837
+                        static function($column) use ($initial, $name) {
838 838
                             if ($column === $initial->getName()) {
839 839
                                 return $name->getName();
840 840
                             }
Please login to merge, or discard this patch.
src/Schema/AbstractIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      */
91 91
     public function getColumnsWithSort(): array
92 92
     {
93
-        return array_map(function ($column) {
93
+        return array_map(function($column) {
94 94
             if ($order = $this->sort[$column] ?? null) {
95 95
                 return "$column $order";
96 96
             }
Please login to merge, or discard this patch.