Passed
Push — master ( 546709...c606fb )
by nguereza
21:45 queued 18:19
created
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 use Platine\App\Http\Action\HomeAction;
4 4
 use Platine\Route\Router;
5 5
 
6
-return [static function (Router $router): void {
6
+return [static function(Router $router): void {
7 7
     $router->get('/', HomeAction::class, 'home');
8 8
 }];
Please login to merge, or discard this patch.
storage/migrations/20210705_065247_add_roles_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('roles', function (CreateTable $table) {
13
+        $this->create('roles', function(CreateTable $table) {
14 14
             $table->integer('id')
15 15
                   ->autoincrement()
16 16
                  ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddRolesTable20210705065247 extends AbstractMigration
9
-{
8
+class AddRolesTable20210705065247 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('roles', function (CreateTable $table) {
12
+        $this->create('roles', function (CreateTable $table) {
14 13
             $table->integer('id')
15 14
                   ->autoincrement()
16 15
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210705_065248_add_users_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('users', function (CreateTable $table) {
13
+        $this->create('users', function(CreateTable $table) {
14 14
             $table->integer('id')
15 15
                   ->autoincrement()
16 16
                  ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddUsersTable20210705065248 extends AbstractMigration
9
-{
8
+class AddUsersTable20210705065248 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('users', function (CreateTable $table) {
12
+        $this->create('users', function (CreateTable $table) {
14 13
             $table->integer('id')
15 14
                   ->autoincrement()
16 15
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210717_094822_add_permission_roles_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('permissions_roles', function (CreateTable $table) {
13
+        $this->create('permissions_roles', function(CreateTable $table) {
14 14
             $table->integer('permission_id');
15 15
             $table->integer('role_id');
16 16
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddPermissionRolesTable20210717094822 extends AbstractMigration
9
-{
8
+class AddPermissionRolesTable20210717094822 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('permissions_roles', function (CreateTable $table) {
12
+        $this->create('permissions_roles', function (CreateTable $table) {
14 13
             $table->integer('permission_id');
15 14
             $table->integer('role_id');
16 15
 
Please login to merge, or discard this patch.
storage/migrations/20210823_152146_add_api_tokens_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('tokens', function (CreateTable $table) {
13
+        $this->create('tokens', function(CreateTable $table) {
14 14
             $table->integer('id')
15 15
               ->autoincrement()
16 16
              ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddApiTokensTable20210823152146 extends AbstractMigration
9
-{
8
+class AddApiTokensTable20210823152146 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('tokens', function (CreateTable $table) {
12
+        $this->create('tokens', function (CreateTable $table) {
14 13
             $table->integer('id')
15 14
               ->autoincrement()
16 15
              ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210717_094547_add_permissions_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('permissions', function (CreateTable $table) {
13
+        $this->create('permissions', function(CreateTable $table) {
14 14
             $table->integer('id')
15 15
                   ->autoincrement()
16 16
                  ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddPermissionsTable20210717094547 extends AbstractMigration
9
-{
8
+class AddPermissionsTable20210717094547 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('permissions', function (CreateTable $table) {
12
+        $this->create('permissions', function (CreateTable $table) {
14 13
             $table->integer('id')
15 14
                   ->autoincrement()
16 15
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20220109_074106_add_configuration_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function up(): void
13 13
     {
14 14
       //Action when migrate up
15
-        $this->create('configurations', function (CreateTable $table) {
15
+        $this->create('configurations', function(CreateTable $table) {
16 16
             $table->integer('id')
17 17
                   ->autoincrement()
18 18
                  ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,12 +7,11 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddConfigurationTable20220109074106 extends AbstractMigration
11
-{
10
+class AddConfigurationTable20220109074106 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
15
-        $this->create('configurations', function (CreateTable $table) {
14
+        $this->create('configurations', function (CreateTable $table) {
16 15
             $table->integer('id')
17 16
                   ->autoincrement()
18 17
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20220323_095520_add_audits_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function up(): void
13 13
     {
14 14
       //Action when migrate up
15
-        $this->create('audits', function (CreateTable $table) {
15
+        $this->create('audits', function(CreateTable $table) {
16 16
             $table->integer('id')
17 17
                   ->autoincrement()
18 18
                  ->primary();
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,12 +7,11 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddAuditsTable20220323095520 extends AbstractMigration
11
-{
10
+class AddAuditsTable20220323095520 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
15
-        $this->create('audits', function (CreateTable $table) {
14
+        $this->create('audits', function (CreateTable $table) {
16 15
             $table->integer('id')
17 16
                   ->autoincrement()
18 17
                  ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210717_100434_add_role_users_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('roles_users', function (CreateTable $table) {
13
+        $this->create('roles_users', function(CreateTable $table) {
14 14
             $table->integer('user_id');
15 15
             $table->integer('role_id');
16 16
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Platine\Database\Schema\CreateTable;
6 6
 use Platine\Framework\Migration\AbstractMigration;
7 7
 
8
-class AddRoleUsersTable20210717100434 extends AbstractMigration
9
-{
8
+class AddRoleUsersTable20210717100434 extends AbstractMigration {
10 9
     public function up(): void
11 10
     {
12 11
       //Action when migrate up
13
-        $this->create('roles_users', function (CreateTable $table) {
12
+        $this->create('roles_users', function (CreateTable $table) {
14 13
             $table->integer('user_id');
15 14
             $table->integer('role_id');
16 15
 
Please login to merge, or discard this patch.