Passed
Push — develop ( e3e306...5da5fd )
by nguereza
04:19 queued 01:01
created
src/Service/Provider/AuthServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
  * @class AuthServiceProvider
74 74
  * @package Platine\Framework\Service\Provider
75 75
  */
76
-class AuthServiceProvider extends ServiceProvider
77
-{
76
+class AuthServiceProvider extends ServiceProvider {
78 77
     /**
79 78
      * {@inheritdoc}
80 79
      */
Please login to merge, or discard this patch.
src/Service/Provider/FilesystemServiceProvider.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 FilesystemServiceProvider
57 57
  * @package Platine\Framework\Service\Provider
58 58
  */
59
-class FilesystemServiceProvider extends ServiceProvider
60
-{
59
+class FilesystemServiceProvider extends ServiceProvider {
61 60
     /**
62 61
      * {@inheritdoc}
63 62
      */
Please login to merge, or discard this patch.
src/Migration/Command/AbstractCommand.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
  * @package Platine\Framework\Migration\Command
66 66
  * @template T
67 67
  */
68
-abstract class AbstractCommand extends Command
69
-{
68
+abstract class AbstractCommand extends Command {
70 69
     /**
71 70
      * The migration repository
72 71
      * @var MigrationRepository
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -219,9 +219,9 @@  discard block
 block discarded – undo
219 219
     {
220 220
         /** @var MigrationEntity[] $migrations */
221 221
         $migrations = $this->repository
222
-                           ->query()
223
-                           ->orderBy('version', $orderDir)
224
-                           ->all();
222
+                            ->query()
223
+                            ->orderBy('version', $orderDir)
224
+                            ->all();
225 225
         $result = [];
226 226
 
227 227
         foreach ($migrations as $entity) {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     protected function getMigrationClassName(string $description, string $version): string
244 244
     {
245 245
         return Str::camel($description, false)
246
-               . Str::replaceFirst('_', '', $version);
246
+                . Str::replaceFirst('_', '', $version);
247 247
     }
248 248
 
249 249
     /**
Please login to merge, or discard this patch.
src/Migration/Seed/Command/AbstractSeedCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@
 block discarded – undo
64 64
  * @package Platine\Framework\Migration\Seed\Command
65 65
  * @template T
66 66
  */
67
-abstract class AbstractSeedCommand extends Command
68
-{
67
+abstract class AbstractSeedCommand extends Command {
69 68
     /**
70 69
      * The configuration to use
71 70
      * @var Config<T>
Please login to merge, or discard this patch.
src/Template/Tag/CurrentUrlTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class CurrentUrlTag
56 56
  * @package Platine\Framework\Template\Tag
57 57
  */
58
-class CurrentUrlTag extends AbstractTag
59
-{
58
+class CurrentUrlTag extends AbstractTag {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
src/Security/JWT/SignerInterface.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 SignerInterface
52 52
  * @package Platine\Framework\Security\JWT
53 53
  */
54
-interface SignerInterface
55
-{
54
+interface SignerInterface {
56 55
     /**
57 56
      * Sign the given data using the given key
58 57
      * @param string $data
Please login to merge, or discard this patch.
src/Security/JWT/Signer/HMAC.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @package Platine\Framework\Security\JWT\Signer
57 57
  * @template T
58 58
  */
59
-class HMAC implements SignerInterface
60
-{
59
+class HMAC implements SignerInterface {
61 60
     /**
62 61
      * The configuration instance
63 62
      * @var Config<T>
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
      * Create new instance
75 74
      * @param Config<T> $config
76 75
      */
77
-    public function __construct(Config $config)
78
-    {
76
+    public function __construct(Config $config) {
79 77
         $this->config = $config;
80 78
         $algo = $config->get('api.sign.hmac.signature_algo', '');
81 79
         if (!in_array($algo, hash_hmac_algos())) {
Please login to merge, or discard this patch.
src/Security/JWT/Encoder/Base64UrlSafeEncoder.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 Base64UrlSafeEncoder
54 54
  * @package Platine\Framework\Security\JWT\Encoder
55 55
  */
56
-class Base64UrlSafeEncoder implements EncoderInterface
57
-{
56
+class Base64UrlSafeEncoder implements EncoderInterface {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      */
Please login to merge, or discard this patch.
src/Security/JWT/EncoderInterface.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 EncoderInterface
52 52
  * @package Platine\Framework\Security\JWT
53 53
  */
54
-interface EncoderInterface
55
-{
54
+interface EncoderInterface {
56 55
     /**
57 56
      * Encode the given data
58 57
      * @param string $data
Please login to merge, or discard this patch.