Test Failed
Push — develop ( 2def8e...aad200 )
by nguereza
02:54
created
src/Helper/functions.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
      *  application instance will be returned
55 55
      * @return mixed
56 56
      */
57
-    function app(?string $identifier = null)
58
-    {
57
+    function app(?string $identifier = null) {
59 58
         $app = Application::getInstance();
60 59
 
61 60
         return $identifier ? $app->get($identifier) : $app;
Please login to merge, or discard this patch.
storage/migrations/20210705_065247_add_roles_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddRolesTable20210705065247 extends AbstractMigration
8
-{
7
+class AddRolesTable20210705065247 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
storage/migrations/20210708_043103_add_config_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddConfigTable20210708043103 extends AbstractMigration
8
-{
7
+class AddConfigTable20210708043103 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
src/Console/Command/ServerCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,15 +54,13 @@  discard block
 block discarded – undo
54 54
  * class ServerCommand
55 55
  * @package Platine\Framework\Console\Command
56 56
  */
57
-class ServerCommand extends Command
58
-{
57
+class ServerCommand extends Command {
59 58
 
60 59
     /**
61 60
      * Create new instance
62 61
      * {@inheritodc}
63 62
      */
64
-    public function __construct()
65
-    {
63
+    public function __construct() {
66 64
         parent::__construct('server', 'Command to manage PHP development server');
67 65
         $this->addOption('-a|--address', 'Server address', '0.0.0.0', true);
68 66
         $this->addOption('-p|--port', 'Server listen port', '8080', true);
@@ -72,8 +70,7 @@  discard block
 block discarded – undo
72 70
     /**
73 71
      * {@inheritodc}
74 72
      */
75
-    public function execute()
76
-    {
73
+    public function execute() {
77 74
         $host = $this->getOptionValue('address');
78 75
         $port = $this->getOptionValue('port');
79 76
         $path = $this->getOptionValue('root');
Please login to merge, or discard this patch.
storage/migrations/20210717_094547_add_permissions_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddPermissionsTable20210717094547 extends AbstractMigration
8
-{
7
+class AddPermissionsTable20210717094547 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
storage/migrations/20210705_065248_add_users_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddUsersTable20210705065248 extends AbstractMigration
8
-{
7
+class AddUsersTable20210705065248 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
storage/migrations/20210717_094822_add_permission_roles_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddPermissionRolesTable20210717094822 extends AbstractMigration
8
-{
7
+class AddPermissionRolesTable20210717094822 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
storage/migrations/20210717_100434_add_role_users_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 use Platine\Database\Schema\CreateTable;
5 5
 use Platine\Framework\Migration\AbstractMigration;
6 6
 
7
-class AddRoleUsersTable20210717100434 extends AbstractMigration
8
-{
7
+class AddRoleUsersTable20210717100434 extends AbstractMigration {
9 8
 
10 9
     public function up(): void
11 10
     {
Please login to merge, or discard this patch.
src/Auth/Middleware/AuthorizationMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
  * @package Platine\Framework\Auth\Middleware
63 63
  * @template T
64 64
  */
65
-class AuthorizationMiddleware implements MiddlewareInterface
66
-{
65
+class AuthorizationMiddleware implements MiddlewareInterface {
67 66
 
68 67
     /**
69 68
      * The Authorization instance
Please login to merge, or discard this patch.