Passed
Push — develop ( d608c2...fea4fb )
by nguereza
01:49
created
src/Entity/BaseEntity.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,14 +10,12 @@
 block discarded – undo
10 10
  * @class BaseEntity
11 11
  * @package Quantum\Hub\Entity
12 12
  */
13
-class BaseEntity
14
-{
13
+class BaseEntity {
15 14
     /**
16 15
      * Create new instance
17 16
      * @param array<string, mixed> $data
18 17
      */
19
-    public function __construct(array $data = [])
20
-    {
18
+    public function __construct(array $data = []) {
21 19
         $this->hydrate($data);
22 20
     }
23 21
 
Please login to merge, or discard this patch.
src/Entity/Commit.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
  * @class Commit
9 9
  * @package Quantum\Hub\Entity
10 10
  */
11
-class Commit extends BaseEntity
12
-{
11
+class Commit extends BaseEntity {
13 12
     /**
14 13
      * The id of the commit
15 14
      * @var string
Please login to merge, or discard this patch.
src/Entity/Repository.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
  * @class Repository
9 9
  * @package Quantum\Hub\Entity
10 10
  */
11
-class Repository extends BaseEntity
12
-{
11
+class Repository extends BaseEntity {
13 12
     /**
14 13
      * The name
15 14
      * @var string
Please login to merge, or discard this patch.
src/Entity/Sender.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
  * @class Sender
9 9
  * @package Quantum\Hub\Entity
10 10
  */
11
-class Sender extends BaseEntity
12
-{
11
+class Sender extends BaseEntity {
13 12
     /**
14 13
      * The name of the user who do the push
15 14
      * @var string
Please login to merge, or discard this patch.
src/WebHook.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -122,10 +122,10 @@
 block discarded – undo
122 122
         return new Repository($data);
123 123
     }
124 124
 
125
-     /**
126
-     * Return the sender (user who make push) info
127
-     * @return Sender
128
-     */
125
+        /**
126
+         * Return the sender (user who make push) info
127
+         * @return Sender
128
+         */
129 129
     public function getSender(): Sender
130 130
     {
131 131
         $data = $this->getPayloadValue('sender');
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
  * @package Quantum\Hub
20 20
  * @template T
21 21
  */
22
-class WebHook
23
-{
22
+class WebHook {
24 23
     /**
25 24
      * The request instance to use
26 25
      * @var ServerRequestInterface
Please login to merge, or discard this patch.