Passed
Push — develop ( aef2d8...023235 )
by nguereza
02:12
created
src/Exception/WebauthnException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,6 +10,5 @@
 block discarded – undo
10 10
  * @class WebauthnException
11 11
  * @package Platine\Webauthn\Exception
12 12
  */
13
-class WebauthnException extends Exception
14
-{
13
+class WebauthnException extends Exception {
15 14
 }
Please login to merge, or discard this patch.
src/Attestation/Format/None.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 None
9 9
  * @package Platine\Webauthn\Attestation\Format
10 10
  */
11
-class None extends BaseFormat
12
-{
11
+class None extends BaseFormat {
13 12
     /**
14 13
     * {@inheritdoc}
15 14
     */
Please login to merge, or discard this patch.
src/Attestation/Format/FidoU2F.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
  * @class FidoU2F
13 13
  * @package Platine\Webauthn\Attestation\Format
14 14
  */
15
-class FidoU2F extends BaseFormat
16
-{
15
+class FidoU2F extends BaseFormat {
17 16
     /**
18 17
      * The algorithm used
19 18
      * @var int
Please login to merge, or discard this patch.
src/Attestation/Format/Packed.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
  * @class Packed
13 13
  * @package Platine\Webauthn\Attestation\Format
14 14
  */
15
-class Packed extends BaseFormat
16
-{
15
+class Packed extends BaseFormat {
17 16
     /**
18 17
      * The algorithm used
19 18
      * @var int
Please login to merge, or discard this patch.
src/WebauthnConfiguration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
  * @class WebauthnConfiguration
11 11
  * @package Platine\Webauthn
12 12
  */
13
-class WebauthnConfiguration extends AbstractConfiguration
14
-{
13
+class WebauthnConfiguration extends AbstractConfiguration {
15 14
     /**
16 15
      * {@inheritdoc}
17 16
      */
Please login to merge, or discard this patch.
src/Webauthn.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@  discard block
 block discarded – undo
25 25
  * @class Webauthn
26 26
  * @package Platine\Webauthn
27 27
  */
28
-class Webauthn
29
-{
28
+class Webauthn {
30 29
     /**
31 30
      * The attestation data formats
32 31
      * @var array<string>
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * @param WebauthnConfiguration $config
69 68
      * @param array<string> $allowedFormats
70 69
      */
71
-    public function __construct(WebauthnConfiguration $config, array $allowedFormats = [])
72
-    {
70
+    public function __construct(WebauthnConfiguration $config, array $allowedFormats = []) {
73 71
         if (! function_exists('openssl_open')) {
74 72
             throw new WebauthnException('OpenSSL module not installed in this platform');
75 73
         }
Please login to merge, or discard this patch.
src/Enum/KeyFormat.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 KeyFormat
9 9
  * @package Platine\Webauthn\Enum
10 10
  */
11
-class KeyFormat extends BaseEnum
12
-{
11
+class KeyFormat extends BaseEnum {
13 12
     public const ANDROID_KEY = 'android-key';
14 13
     public const ANDROID_SAFETYNET = 'android-safetynet';
15 14
     public const APPLE = 'apple';
Please login to merge, or discard this patch.
src/Enum/UserVerificationType.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 UserVerificationType
9 9
  * @package Platine\Webauthn\Enum
10 10
  */
11
-class UserVerificationType extends BaseEnum
12
-{
11
+class UserVerificationType extends BaseEnum {
13 12
     public const REQUIRED = 'required';
14 13
     public const PREFERRED = 'preferred';
15 14
     public const DISCOURAGED = 'discouraged';
Please login to merge, or discard this patch.
src/Enum/AttestationType.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 AttestationType
9 9
  * @package Platine\Webauthn\Enum
10 10
  */
11
-class AttestationType extends BaseEnum
12
-{
11
+class AttestationType extends BaseEnum {
13 12
     public const NONE = 'none';
14 13
     public const DIRECT = 'direct';
15 14
     public const INDIRECT = 'indirect';
Please login to merge, or discard this patch.