Passed
Push — develop ( 4af35e...0738e8 )
by nguereza
03:16
created
src/Audit/Model/Audit.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,19 +66,19 @@
 block discarded – undo
66 66
             'date' => 'date',
67 67
         ]);
68 68
 
69
-        $mapper->filter('start_date', function (Query $q, $value) {
69
+        $mapper->filter('start_date', function(Query $q, $value) {
70 70
             $q->where('date')->gte($value);
71 71
         });
72 72
 
73
-        $mapper->filter('end_date', function (Query $q, $value) {
73
+        $mapper->filter('end_date', function(Query $q, $value) {
74 74
             $q->where('date')->lte($value);
75 75
         });
76 76
 
77
-        $mapper->filter('event', function (Query $q, $value) {
77
+        $mapper->filter('event', function(Query $q, $value) {
78 78
             $q->where('event')->is($value);
79 79
         });
80 80
 
81
-        $mapper->filter('user', function (Query $q, $value) {
81
+        $mapper->filter('user', function(Query $q, $value) {
82 82
             $q->where('user_id')->is($value);
83 83
         });
84 84
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @package Platine\Framework\Audit\Model
58 58
  * @extends Entity<Audit>
59 59
  */
60
-class Audit extends Entity
61
-{
60
+class Audit extends Entity {
62 61
     /**
63 62
      *
64 63
      * @param EntityMapperInterface<Audit> $mapper
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedCreateDbCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $this->queryBuilder = $queryBuilder;
106 106
 
107 107
         $this->setName('seed:createdb')
108
-             ->setDescription('Create a new seed using existing data');
108
+                ->setDescription('Create a new seed using existing data');
109 109
 
110 110
         $this->addArgument('table', 'name of the table', null, true, false);
111 111
         $this->addArgument('name', 'name of seed', null, false, true);
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
63 63
  * @template T
64 64
  * @extends AbstractSeedCommand<T>
65 65
  */
66
-class SeedCreateDbCommand extends AbstractSeedCommand
67
-{
66
+class SeedCreateDbCommand extends AbstractSeedCommand {
68 67
     /**
69 68
      * The seed name
70 69
      * @var string
@@ -114,8 +113,7 @@  discard block
 block discarded – undo
114 113
     /**
115 114
      * {@inheritdoc}
116 115
      */
117
-    public function execute()
118
-    {
116
+    public function execute() {
119 117
         $writer = $this->io()->writer();
120 118
 
121 119
         $this->table = $this->getArgumentValue('table');
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedCreateCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     ) {
81 81
         parent::__construct($app, $config, $filesystem);
82 82
         $this->setName('seed:create')
83
-             ->setDescription('Create a new seed');
83
+                ->setDescription('Create a new seed');
84 84
 
85 85
         $this->addArgument('name', 'name of seed', null, false, true);
86 86
     }
Please login to merge, or discard this 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
         $className = $this->getSeedClassName($this->name);
Please login to merge, or discard this patch.
src/Migration/Command/MigrationCreateCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     ) {
82 82
         parent::__construct($app, $repository, $config, $filesystem);
83 83
         $this->setName('migration:create')
84
-             ->setDescription('Create a new migration');
84
+                ->setDescription('Create a new migration');
85 85
 
86 86
         $this->addArgument('name', 'name of migration', null, false, true);
87 87
     }
Please login to merge, or discard this 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 AbstractCommand<T>
63 63
  */
64
-class MigrationCreateCommand extends AbstractCommand
65
-{
64
+class MigrationCreateCommand extends AbstractCommand {
66 65
     /**
67 66
      * The migration name
68 67
      * @var string
@@ -89,8 +88,7 @@  discard block
 block discarded – undo
89 88
     /**
90 89
      * {@inheritdoc}
91 90
      */
92
-    public function execute()
93
-    {
91
+    public function execute() {
94 92
         $writer = $this->io()->writer();
95 93
 
96 94
         $version = date('Ymd_His');
Please login to merge, or discard this patch.
src/Console/MakeCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
  * @class MakeCommand
60 60
  * @package Platine\Framework\Console
61 61
  */
62
-abstract class MakeCommand extends Command
63
-{
62
+abstract class MakeCommand extends Command {
64 63
     /**
65 64
      * The Application instance
66 65
      * @var Application
@@ -117,8 +116,7 @@  discard block
 block discarded – undo
117 116
     /**
118 117
      * {@inheritdoc}
119 118
      */
120
-    public function execute()
121
-    {
119
+    public function execute() {
122 120
         $io = $this->io();
123 121
         $writer = $io->writer();
124 122
         $name = $this->className;
Please login to merge, or discard this patch.
src/Console/Command/MakeProviderCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     ) {
88 88
         parent::__construct($application, $filesystem);
89 89
         $this->setName('make:provider')
90
-               ->setDescription('Command to generate new service provider class');
90
+                ->setDescription('Command to generate new service provider class');
91 91
     }
92 92
 
93 93
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class MakeProviderCommand
58 58
  * @package Platine\Framework\Console\Command
59 59
  */
60
-class MakeProviderCommand extends MakeCommand
61
-{
60
+class MakeProviderCommand extends MakeCommand {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeMiddlewareCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     ) {
74 74
         parent::__construct($application, $filesystem);
75 75
         $this->setName('make:middleware')
76
-               ->setDescription('Command to generate new middleware class');
76
+                ->setDescription('Command to generate new middleware class');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class MakeMiddlewareCommand
56 56
  * @package Platine\Framework\Console\Command
57 57
  */
58
-class MakeMiddlewareCommand extends MakeCommand
59
-{
58
+class MakeMiddlewareCommand extends MakeCommand {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeFormParamCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     ) {
89 89
         parent::__construct($application, $filesystem);
90 90
         $this->setName('make:param')
91
-               ->setDescription('Command to generate new form parameter class');
91
+                ->setDescription('Command to generate new form parameter class');
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
  * @class MakeFormParamCommand
59 59
  * @package Platine\Framework\Console\Command
60 60
  */
61
-class MakeFormParamCommand extends MakeCommand
62
-{
61
+class MakeFormParamCommand extends MakeCommand {
63 62
     /**
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeEntityCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     ) {
94 94
         parent::__construct($application, $filesystem);
95 95
         $this->setName('make:entity')
96
-               ->setDescription('Command to generate new entity class');
96
+                ->setDescription('Command to generate new entity class');
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class MakeEntityCommand
58 58
  * @package Platine\Framework\Console\Command
59 59
  */
60
-class MakeEntityCommand extends MakeCommand
61
-{
60
+class MakeEntityCommand extends MakeCommand {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.