Test Failed
Push — develop ( afcd85...c5c862 )
by nguereza
03:41
created
src/Migration/MigrationRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,15 +54,13 @@
 block discarded – undo
54 54
  * @class MigrationRepository
55 55
  * @package Platine\Framework\Migration
56 56
  */
57
-class MigrationRepository extends Repository
58
-{
57
+class MigrationRepository extends Repository {
59 58
 
60 59
     /**
61 60
      * Create new instance
62 61
      * @param EntityManager $manager
63 62
      */
64
-    public function __construct(EntityManager $manager)
65
-    {
63
+    public function __construct(EntityManager $manager) {
66 64
         parent::__construct($manager, MigrationEntity::class);
67 65
     }
68 66
 }
Please login to merge, or discard this patch.
src/Migration/MigrationEntity.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class MigrationEntity
57 57
  * @package Platine\Framework\Migration
58 58
  */
59
-class MigrationEntity extends Entity
60
-{
59
+class MigrationEntity extends Entity {
61 60
 
62 61
     /**
63 62
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Migration/AbstractMigration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class AbstractMigration
54 54
  * @package Platine\Framework\Migration
55 55
  */
56
-abstract class AbstractMigration extends Schema
57
-{
56
+abstract class AbstractMigration extends Schema {
58 57
     /**
59 58
      * Execute when do migrate
60 59
      * @return void
Please login to merge, or discard this patch.
src/Form/Param/BaseParam.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 BaseParam
55 55
  * @package Platine\Framework\Form\Param
56 56
  */
57
-class BaseParam
58
-{
57
+class BaseParam {
59 58
 
60 59
     /**
61 60
      * Create new instance
62 61
      * @param array<string, mixed> $data
63 62
      */
64
-    public function __construct(array $data = [])
65
-    {
63
+    public function __construct(array $data = []) {
66 64
         $params = array_merge($this->getDefault(), $data);
67 65
         $this->load($params);
68 66
     }
@@ -110,8 +108,7 @@  discard block
 block discarded – undo
110 108
      * @param string $name
111 109
      * @return mixed|null
112 110
      */
113
-    public function __get($name)
114
-    {
111
+    public function __get($name) {
115 112
         if (property_exists($this, $name)) {
116 113
             return $this->{$name};
117 114
         }
Please login to merge, or discard this patch.
src/Form/Validator/AbstractValidator.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class AbstractValidator
54 54
  * @package Platine\Framework\Form\Validator
55 55
  */
56
-abstract class AbstractValidator
57
-{
56
+abstract class AbstractValidator {
58 57
     /**
59 58
      * The validation instance
60 59
      * @var Validator
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
      * Create new instance
72 71
      * @param Validator|null $validator
73 72
      */
74
-    public function __construct(?Validator $validator = null)
75
-    {
73
+    public function __construct(?Validator $validator = null) {
76 74
         $this->validator = $validator ?? new Validator();
77 75
     }
78 76
 
Please login to merge, or discard this patch.
src/Auth/AuthorizationInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class AuthorizationInterface
52 52
  * @package Platine\Framework\Auth
53 53
  */
54
-interface AuthorizationInterface
55
-{
54
+interface AuthorizationInterface {
56 55
 
57 56
     /**
58 57
      * Check if user is granted the given permission
Please login to merge, or discard this patch.
src/Auth/AuthenticationInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class AuthenticationInterface
57 57
  * @package Platine\Framework\Auth
58 58
  */
59
-interface AuthenticationInterface
60
-{
59
+interface AuthenticationInterface {
61 60
 
62 61
     /**
63 62
      * Authenticate the user
Please login to merge, or discard this patch.
src/Auth/Repository/PermissionRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,13 @@
 block discarded – undo
55 55
  * @class PermissionRepository
56 56
  * @package Platine\Framework\Auth\Repository
57 57
  */
58
-class PermissionRepository extends Repository
59
-{
58
+class PermissionRepository extends Repository {
60 59
 
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, Permission::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.
src/Auth/Repository/UserRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,13 @@
 block discarded – undo
55 55
  * @class UserRepository
56 56
  * @package Platine\Framework\Auth\Repository
57 57
  */
58
-class UserRepository extends Repository
59
-{
58
+class UserRepository extends Repository {
60 59
 
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, User::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.