Completed
Push — master ( 263533...6dddbe )
by Beñat
01:46
created
Symfony/Bundle/DependencyInjection/Compiler/TacticianPass.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
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Symfony\Bundle\DependencyInjection\Compiler;
15 15
 
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Event/StreamVersionIsNotValid.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
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Event;
15 15
 
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Event/StreamNameIsEmpty.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
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Event;
15 15
 
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Event/AggregateId.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
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Event;
15 15
 
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Event/StreamVersion.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
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Event;
15 15
 
Please login to merge, or discard this patch.
LIN3S/SharedKernel/Infrastructure/Persistence/Sql/Event/SqlEventStore.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Persistence\Sql\Event;
15 15
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             return;
48 48
         }
49 49
 
50
-        $this->pdo->insert(self::TABLE_NAME, self::COLUMN_NAMES, $numberOfEvents, function () use ($storedEvents) {
50
+        $this->pdo->insert(self::TABLE_NAME, self::COLUMN_NAMES, $numberOfEvents, function() use ($storedEvents) {
51 51
             $data = [];
52 52
             foreach ($storedEvents as $event) {
53 53
                 $data = array_merge($data, $event->toArray());
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 ORDER BY `order` ASC
80 80
 LIMIT $limit
81 81
 OFFSET $offset
82
-SQL;
82
+sql;
83 83
 
84 84
         $storedEventRows = $this->pdo->query($sql, ['occurredOn' => $since]);
85 85
         $storedEvents = $this->buildStoredEvents($storedEventRows);
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
   `stream_version` INT NOT NULL,
165 165
   PRIMARY KEY (`order`)
166 166
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
167
-SQL;
167
+sql;
168 168
     }
169 169
 
170 170
     public static function removeSchema() : string
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Infrastructure/Persistence/Sql/Pdo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Persistence\Sql;
15 15
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
             $this->pdo->commit();
54 54
 
55
-            return $return ?: true;
55
+            return $return ? : true;
56 56
         } catch (\Exception | \Throwable $exception) {
57 57
             $this->pdo->rollback();
58 58
 
Please login to merge, or discard this patch.
Application/Tactician/Middlewares/DomainEventsPublicationMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Application\Tactician\Middlewares;
15 15
 
@@ -61,6 +61,6 @@  discard block
 block discarded – undo
61 61
 
62 62
     private function streamVersion() : StreamVersion
63 63
     {
64
-        return new StreamVersion(1);    // TODO: This value is hardcoded for now.
64
+        return new StreamVersion(1); // TODO: This value is hardcoded for now.
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
Application/Tactician/Middlewares/PdoTransactionMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Application\Tactician\Middlewares;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     public function execute($command, callable $next)
32 32
     {
33
-        $nextOperation = function () use ($next, $command) {
33
+        $nextOperation = function() use ($next, $command) {
34 34
             return $next($command);
35 35
         };
36 36
 
Please login to merge, or discard this patch.