Passed
Push — develop ( 5cfbbd...a66307 )
by nguereza
02:52
created
src/Task/SchedulerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class SchedulerInterface
52 52
  * @package Platine\Framework\Task
53 53
  */
54
-interface SchedulerInterface
55
-{
54
+interface SchedulerInterface {
56 55
     /**
57 56
      * Execute the scheduler
58 57
      * @return void
Please login to merge, or discard this patch.
src/Task/Command/SchedulerListCommand.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
         parent::__construct($scheduler, $application, $config);
74 74
 
75 75
         $this->setName('scheduler:list')
76
-             ->setDescription('Show the list of scheduled tasks');
76
+                ->setDescription('Show the list of scheduled tasks');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @class SchedulerListCommand
58 58
  * @package Platine\Framework\Task\Command
59 59
  */
60
-class SchedulerListCommand extends AbstractCommand
61
-{
60
+class SchedulerListCommand extends AbstractCommand {
62 61
     /**
63 62
      * Create new instance
64 63
      * @param SchedulerInterface $scheduler
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
     /**
80 79
      * {@inheritdoc}
81 80
      */
82
-    public function execute()
83
-    {
81
+    public function execute() {
84 82
         //Load the task list
85 83
         $this->loadTasks();
86 84
 
Please login to merge, or discard this patch.
src/Task/Command/SchedulerRunCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         parent::__construct($scheduler, $application, $config);
73 73
 
74 74
         $this->setName('scheduler:run')
75
-             ->setDescription('Execute the scheduled tasks');
75
+                ->setDescription('Execute the scheduled tasks');
76 76
 
77 77
         $this->addArgument('name', 'the name of task to execute instead of all', null, false, true);
78 78
     }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @package Platine\Framework\Task\Command
57 57
  * @template T
58 58
  */
59
-class SchedulerRunCommand extends AbstractCommand
60
-{
59
+class SchedulerRunCommand extends AbstractCommand {
61 60
     /**
62 61
      * Create new instance
63 62
      * @param SchedulerInterface $scheduler
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
     /**
81 80
      * {@inheritdoc}
82 81
      */
83
-    public function execute()
84
-    {
82
+    public function execute() {
85 83
         //Load the task
86 84
         $this->loadTasks();
87 85
 
Please login to merge, or discard this patch.
src/Service/Provider/SchedulerServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class SchedulerServiceProvider
58 58
  * @package Platine\Framework\Service\Provider
59 59
  */
60
-class SchedulerServiceProvider extends ServiceProvider
61
-{
60
+class SchedulerServiceProvider extends ServiceProvider {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeTaskCommand.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:task')
91
-               ->setDescription('Command to generate new task class');
91
+                ->setDescription('Command to generate new task 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 MakeTaskCommand
59 59
  * @package Platine\Framework\Console\Command
60 60
  */
61
-class MakeTaskCommand extends MakeCommand
62
-{
61
+class MakeTaskCommand extends MakeCommand {
63 62
     /**
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
src/Console/PasswordGenerateCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @class PasswordGenerateCommand
57 57
  * @package Platine\Framework\Console
58 58
  */
59
-class PasswordGenerateCommand extends Command
60
-{
59
+class PasswordGenerateCommand extends Command {
61 60
     /**
62 61
      * The Hash instance
63 62
      * @var HashInterface
@@ -85,8 +84,7 @@  discard block
 block discarded – undo
85 84
     /**
86 85
      * {@inheritdoc}
87 86
      */
88
-    public function execute()
89
-    {
87
+    public function execute() {
90 88
         $io = $this->io();
91 89
         $writer = $io->writer();
92 90
         $password = $this->password;
Please login to merge, or discard this patch.
src/Form/Param/BaseParam.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -55,14 +55,12 @@  discard block
 block discarded – undo
55 55
  * @class BaseParam
56 56
  * @package Platine\Framework\Form\Param
57 57
  */
58
-class BaseParam implements JsonSerializable
59
-{
58
+class BaseParam implements JsonSerializable {
60 59
     /**
61 60
      * Create new instance
62 61
      * @param array<string, mixed> $data
63 62
      */
64
-    public function __construct(array $data = [])
65
-    {
63
+    public function __construct(array $data = []) {
66 64
         $params = array_merge($this->getDefault(), $data);
67 65
         $this->load($params);
68 66
     }
@@ -118,8 +116,7 @@  discard block
 block discarded – undo
118 116
      * Convert parameter to JSON array
119 117
      * @return array<string, mixed>
120 118
      */
121
-    public function jsonSerialize()
122
-    {
119
+    public function jsonSerialize() {
123 120
         return $this->data();
124 121
     }
125 122
 
@@ -128,8 +125,7 @@  discard block
 block discarded – undo
128 125
      * @param string $name
129 126
      * @return mixed|null
130 127
      */
131
-    public function __get($name)
132
-    {
128
+    public function __get($name) {
133 129
         if (property_exists($this, $name)) {
134 130
             return $this->{$name};
135 131
         }
Please login to merge, or discard this patch.
src/Console/Command/MakeEnumCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     ) {
83 83
         parent::__construct($application, $filesystem);
84 84
         $this->setName('make:enum')
85
-               ->setDescription('Command to generate new enumeration class');
85
+                ->setDescription('Command to generate new enumeration class');
86 86
     }
87 87
 
88 88
     /**
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 MakeEnumCommand
59 59
  * @package Platine\Framework\Console\Command
60 60
  */
61
-class MakeEnumCommand extends MakeCommand
62
-{
61
+class MakeEnumCommand extends MakeCommand {
63 62
     /**
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
src/Auth/Event/AuthLoginEvent.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class AuthLoginEvent
55 55
  * @package Platine\Framework\Auth\Event
56 56
  */
57
-class AuthLoginEvent extends Event
58
-{
57
+class AuthLoginEvent extends Event {
59 58
     /**
60 59
      * The authentication user
61 60
      * @var User
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * @param User $user
68 67
      */
69
-    public function __construct(User $user)
70
-    {
68
+    public function __construct(User $user) {
71 69
         parent::__construct(__CLASS__, []);
72 70
         $this->user = $user;
73 71
     }
Please login to merge, or discard this patch.