Passed
Push — master ( 97a45c...28cbcb )
by nguereza
05:08 queued 02:59
created
app/Validator/ProductValidator.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 * @package Platine\App\Validator
20 20
 * @template TEntity as \Platine\Orm\Entity
21 21
 */
22
-class ProductValidator extends AbstractValidator
23
-{
22
+class ProductValidator extends AbstractValidator {
24 23
     /**
25 24
     * The parameter instance
26 25
     * @var ProductParam<TEntity>
@@ -32,8 +31,7 @@  discard block
 block discarded – undo
32 31
     * @param ProductParam<TEntity> $param
33 32
     * @param Lang $lang
34 33
     */
35
-    public function __construct(ProductParam $param, Lang $lang)
36
-    {
34
+    public function __construct(ProductParam $param, Lang $lang) {
37 35
         parent::__construct($lang);
38 36
         $this->param = $param;
39 37
     }
Please login to merge, or discard this patch.
app/Http/Action/HomeAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
  * @class HomeAction
64 64
  * @package Platine\App\Http\Action
65 65
  */
66
-class HomeAction implements RequestHandlerInterface
67
-{
66
+class HomeAction implements RequestHandlerInterface {
68 67
     /**
69 68
      * The template instance
70 69
      * @var Template
Please login to merge, or discard this patch.
app/Console/Command/ServerCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServerCommand
55 55
  * @package Platine\App\Console\Command
56 56
  */
57
-class ServerCommand extends Command
58
-{
57
+class ServerCommand extends Command {
59 58
     /**
60 59
      * The shell instance to use
61 60
      * @var Shell
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * {@inheritdoc}
68 67
      */
69
-    public function __construct(Shell $shell)
70
-    {
68
+    public function __construct(Shell $shell) {
71 69
         parent::__construct('server', 'Command to manage PHP development server');
72 70
         $this->addOption('-a|--address', 'Server address', 'localhost', true);
73 71
         $this->addOption('-p|--port', 'Server listen port', '8080', true);
@@ -79,8 +77,7 @@  discard block
 block discarded – undo
79 77
     /**
80 78
      * {@inheritdoc}
81 79
      */
82
-    public function execute()
83
-    {
80
+    public function execute() {
84 81
         $host = $this->getOptionValue('address');
85 82
         $port = $this->getOptionValue('port');
86 83
         $path = $this->getOptionValue('root');
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000005_users_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class UsersSeed20240616000005 extends AbstractSeed
9
-{
8
+class UsersSeed20240616000005 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000000_permissions_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class PermissionsSeed20240616000000 extends AbstractSeed
9
-{
8
+class PermissionsSeed20240616000000 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000001_product_categories_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class ProductCategoriesSeed20240616000001 extends AbstractSeed
9
-{
8
+class ProductCategoriesSeed20240616000001 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000003_roles_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class RolesSeed20240616000003 extends AbstractSeed
9
-{
8
+class RolesSeed20240616000003 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000004_roles_permissions_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class RolesPermissionsSeed20240616000004 extends AbstractSeed
9
-{
8
+class RolesPermissionsSeed20240616000004 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.
storage/migrations/seeds/20240616_000002_products_seed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 
6 6
 use Platine\Framework\Migration\Seed\AbstractSeed;
7 7
 
8
-class ProductsSeed20240616000002 extends AbstractSeed
9
-{
8
+class ProductsSeed20240616000002 extends AbstractSeed {
10 9
 
11 10
     public function run(): void
12 11
     {
Please login to merge, or discard this patch.