Passed
Push — develop ( c906ee...8bba43 )
by nguereza
05:02
created
src/Service/Provider/DatabaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
73 73
             /** @template T @var Config<T> $config */
74 74
             $config = $app->get(Config::class);
75 75
             $driver = $config->get('database.default', 'default');
@@ -84,11 +84,11 @@  discard block
 block discarded – undo
84 84
             return new Configuration($dbConfig);
85 85
         });
86 86
 
87
-        $this->app->share(Pool::class, function (ContainerInterface $app) {
87
+        $this->app->share(Pool::class, function(ContainerInterface $app) {
88 88
             return new Pool($app->get(Config::class)->get('database', []));
89 89
         });
90 90
 
91
-        $this->app->share(Connection::class, function (ContainerInterface $app) {
91
+        $this->app->share(Connection::class, function(ContainerInterface $app) {
92 92
             return new Connection(
93 93
                 $app->get(Configuration::class),
94 94
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedCreateCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @template T
62 62
  * @extends AbstractSeedCommand<T>
63 63
  */
64
-class SeedCreateCommand extends AbstractSeedCommand
65
-{
64
+class SeedCreateCommand extends AbstractSeedCommand {
66 65
     /**
67 66
      * The seed name
68 67
      * @var string
@@ -88,8 +87,7 @@  discard block
 block discarded – undo
88 87
     /**
89 88
      * {@inheritdoc}
90 89
      */
91
-    public function execute()
92
-    {
90
+    public function execute() {
93 91
         $writer = $this->io()->writer();
94 92
 
95 93
         $version = date('Ymd_His');
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedExecuteCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     ) {
71 71
         parent::__construct($app, $config, $filesystem);
72 72
         $this->setName('seed:exec')
73
-             ->setDescription('Command to execute seed');
73
+                ->setDescription('Command to execute seed');
74 74
 
75 75
         $this->addOption('-i|--id', 'the seed version', null, false, true);
76 76
     }
Please login to merge, or discard this patch.