Passed
Push — main ( 7078ce...216f58 )
by Pranjal
02:32 queued 13s
created
src/Facade/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      *
78 78
      * @return int|numeric-string
79 79
      */
80
-    public static function exec(string $sql): int|string
80
+    public static function exec(string $sql): int | string
81 81
     {
82 82
         return self::getDB()->exec($sql);
83 83
     }
Please login to merge, or discard this patch.
src/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
      *
228 228
      * @throws Exception\InvalidModelException
229 229
      */
230
-    private function createCollection(?Collection $collection, array|Collection $models): Collection
230
+    private function createCollection(?Collection $collection, array | Collection $models): Collection
231 231
     {
232 232
         if (is_null($collection)) {
233 233
             $collection = Collection::fromIterable([]);
Please login to merge, or discard this patch.
src/Database.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
      * @return int|numeric-string
55 55
      */
56
-    public function exec(string $sql, array $params = []): int|string
56
+    public function exec(string $sql, array $params = []): int | string
57 57
     {
58 58
         return $this->connection->executeStatement($sql, $params);
59 59
     }
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 return RectorConfig::configure()
8 8
     ->withPaths([
9
-        __DIR__ . '/src',
10
-        __DIR__ . '/tests',
9
+        __DIR__.'/src',
10
+        __DIR__.'/tests',
11 11
     ])
12 12
     // uncomment to reach your current PHP version
13 13
     ->withPhpSets(php83:true)
14 14
     ->withAttributesSets()
15
-    ->withPreparedSets(deadCode:true,typeDeclarations:true,codeQuality:true);
15
+    ->withPreparedSets(deadCode:true, typeDeclarations:true, codeQuality:true);
Please login to merge, or discard this patch.