Passed
Push — master ( c606fb...d7b7f6 )
by nguereza
11:42
created
app/Http/Action/User/LogoutAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 * @class LogoutAction
18 18
 * @package Platine\App\Http\Action\User
19 19
 */
20
-class LogoutAction implements RequestHandlerInterface
21
-{
20
+class LogoutAction implements RequestHandlerInterface {
22 21
     /**
23 22
     * Create new instance
24 23
     * @param AuthenticationInterface $authentication
Please login to merge, or discard this patch.
app/Http/Action/User/UserProfileAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
 * @class UserProfileAction
28 28
 * @package Platine\App\Http\Action\User
29 29
 */
30
-class UserProfileAction
31
-{
30
+class UserProfileAction {
32 31
     /**
33 32
     * Create new instance
34 33
     * @param Lang $lang
Please login to merge, or discard this patch.
app/Http/Action/User/AuthAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
24 24
 * @class AuthAction
25 25
 * @package Platine\App\Http\Action\User
26 26
 */
27
-class AuthAction implements RequestHandlerInterface
28
-{
27
+class AuthAction implements RequestHandlerInterface {
29 28
     /**
30 29
     * Create new instance
31 30
     * @param AuthenticationInterface $authentication
Please login to merge, or discard this patch.
app/Http/Action/Product/ProductAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 * @class ProductAction
27 27
 * @package Platine\App\Http\Action\Product
28 28
 */
29
-class ProductAction
30
-{
29
+class ProductAction {
31 30
     /**
32 31
     * Create new instance
33 32
     * @param Lang $lang
Please login to merge, or discard this patch.
app/Http/Action/Product/CategoryAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
 * @class CategoryAction
26 26
 * @package Platine\App\Http\Action\Product
27 27
 */
28
-class CategoryAction
29
-{
28
+class CategoryAction {
30 29
     /**
31 30
     * Create new instance
32 31
     * @param Lang $lang
Please login to merge, or discard this patch.
app/Http/Action/Role/RoleAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 * @class RoleAction
29 29
 * @package Platine\App\Http\Action\Role
30 30
 */
31
-class RoleAction
32
-{
31
+class RoleAction {
33 32
     /**
34 33
     * Create new instance
35 34
     * @param Lang $lang
Please login to merge, or discard this patch.
app/Helper/StatusList.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,14 +11,12 @@
 block discarded – undo
11 11
 * @class AuthParam
12 12
 * @package Platine\App\Param
13 13
 */
14
-class StatusList
15
-{
14
+class StatusList {
16 15
     /**
17 16
      * Create new instance
18 17
      * @param Lang $lang
19 18
      */
20
-    public function __construct(protected Lang $lang)
21
-    {
19
+    public function __construct(protected Lang $lang) {
22 20
     }
23 21
 
24 22
     /**
Please login to merge, or discard this patch.
storage/migrations/20220109_074106_add_configuration_table.php 1 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/20210823_152146_add_api_tokens_table.php 1 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.