Test Failed
Push — develop ( 8a31ce...8fcf9d )
by nguereza
02:43
created
src/Service/Provider/BaseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->app->share(Application::class, $this->app);
78 78
         $this->app->share('app', $this->app);
79
-        $this->app->share(ConsoleApp::class, function () {
79
+        $this->app->share(ConsoleApp::class, function() {
80 80
             return new ConsoleApp('PLATINE CONSOLE', '1.0.0');
81 81
         });
82 82
         $this->app->share(ContainerInterface::class, $this->app);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $this->app->bind(RouteCollectionInterface::class, RouteCollection::class);
85 85
         $this->app->share(Router::class);
86 86
         $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class);
87
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
87
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
88 88
             return new ResponseEmitter(
89 89
                 $app->get(Config::class)->get('app.response_chunck_size', null)
90 90
             );
Please login to merge, or discard this patch.
src/Service/Provider/DatabaseConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
         $this->app->bind(DatabaseConfigRepository::class);
77 77
 
78
-        $this->app->bind(DbConfig::class, function (ContainerInterface $app) {
78
+        $this->app->bind(DbConfig::class, function(ContainerInterface $app) {
79 79
             $env = $app->get(Config::class)->get('app.env', '');
80 80
             return new DbConfig($app->get(DatabaseConfigLoaderInterface::class), $env);
81 81
         });
Please login to merge, or discard this patch.
storage/migrations/20210720_080304_add_user_role_field.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->alter('users', function (AlterTable $table) {
14
+        $this->alter('users', function(AlterTable $table) {
15 15
             $table->string('role')
16 16
                  ->description('The user role or function');
17 17
         });
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public function down(): void
21 21
     {
22 22
       //Action when migrate down
23
-        $this->alter('users', function (AlterTable $table) {
23
+        $this->alter('users', function(AlterTable $table) {
24 24
              $table->dropColumn('role');
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
storage/migrations/20210708_043103_add_config_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->create('config', function (CreateTable $table) {
14
+        $this->create('config', function(CreateTable $table) {
15 15
             $table->integer('id')
16 16
                   ->autoincrement()
17 17
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210717_094822_add_permission_roles_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->create('permissions_roles', function (CreateTable $table) {
14
+        $this->create('permissions_roles', function(CreateTable $table) {
15 15
             $table->integer('permission_id');
16 16
             $table->integer('role_id');
17 17
 
Please login to merge, or discard this patch.
storage/migrations/20210720_080558_drop_user_age_field.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->alter('users', function (AlterTable $table) {
14
+        $this->alter('users', function(AlterTable $table) {
15 15
             $table->dropColumn('age');
16 16
         });
17 17
     }
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function down(): void
20 20
     {
21 21
       //Action when migrate down
22
-        $this->alter('users', function (AlterTable $table) {
22
+        $this->alter('users', function(AlterTable $table) {
23 23
             $table->integer('age')
24 24
                  ->size('tiny')
25 25
                  ->description('The user age');
Please login to merge, or discard this patch.
storage/migrations/20210705_065248_add_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->create('users', function (CreateTable $table) {
14
+        $this->create('users', function(CreateTable $table) {
15 15
             $table->integer('id')
16 16
                   ->autoincrement()
17 17
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210717_100434_add_role_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->create('roles_users', function (CreateTable $table) {
14
+        $this->create('roles_users', function(CreateTable $table) {
15 15
             $table->integer('user_id');
16 16
             $table->integer('role_id');
17 17
 
Please login to merge, or discard this patch.
storage/migrations/20210717_094547_add_permissions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function up(): void
12 12
     {
13 13
       //Action when migrate up
14
-        $this->create('permissions', function (CreateTable $table) {
14
+        $this->create('permissions', function(CreateTable $table) {
15 15
             $table->integer('id')
16 16
                   ->autoincrement()
17 17
                  ->primary();
Please login to merge, or discard this patch.