Passed
Push — develop ( fea4fb...2aff8d )
by nguereza
01:46
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
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.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -124,10 +124,10 @@  discard block
 block discarded – undo
124 124
         return new Repository($data);
125 125
     }
126 126
 
127
-     /**
128
-     * Return the sender (user who make push) info
129
-     * @return Sender
130
-     */
127
+        /**
128
+         * Return the sender (user who make push) info
129
+         * @return Sender
130
+         */
131 131
     public function getSender(): Sender
132 132
     {
133 133
         $data = $this->getPayloadValue('sender', []);
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 
329 329
         $client = new HttpClient($url);
330 330
         $client->json()
331
-               ->verifySslCertificate(false);
331
+                ->verifySslCertificate(false);
332 332
         try {
333 333
             $response = $client->post('', $params);
334 334
 
Please login to merge, or discard this patch.