Passed
Branch master (a67d5c)
by Tim
12:28
created
src/Utils/XPath.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @throws RuntimeException If no DOM document is available.
46 46
      */
47
-    public static function findElement(DOMNode $ref, string $name): DOMElement|false
47
+    public static function findElement(DOMNode $ref, string $name): DOMElement | false
48 48
     {
49 49
         $doc = $ref instanceof DOMDocument ? $ref : $ref->ownerDocument;
50 50
         if ($doc === null) {
Please login to merge, or discard this patch.
src/Utils/Certificate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      *
55 55
      * @return string
56 56
      */
57
-    public static function parseIssuer(array|string $issuer): string
57
+    public static function parseIssuer(array | string $issuer): string
58 58
     {
59 59
         if (is_array($issuer)) {
60 60
             $parts = [];
Please login to merge, or discard this patch.
src/XML/xenc/EncryptedKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      */
135 135
     public function decrypt(EncryptionAlgorithmInterface $decryptor): string
136 136
     {
137
-        $cipherValue =  $this->getCipherData()->getCipherValue();
137
+        $cipherValue = $this->getCipherData()->getCipherValue();
138 138
         Assert::notNull(
139 139
             $cipherValue,
140 140
             'Decrypting keys by reference is not supported.',
Please login to merge, or discard this patch.
src/CryptoEncoding/PEMBundle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         }
74 74
 
75 75
         $pems = array_map(
76
-            function ($match) {
76
+            function($match) {
77 77
                 $payload = preg_replace('/\s+/', '', $match[2]);
78 78
                 $data = base64_decode($payload, true);
79 79
                 if (false === $data) {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
         return implode(
210 210
             "\n",
211 211
             array_map(
212
-                function (PEM $pem) {
212
+                function(PEM $pem) {
213 213
                     return $pem->string();
214 214
                 },
215 215
                 $this->pems
Please login to merge, or discard this patch.
src/CryptoEncoding/PEM.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
      */
46 46
     public const PEM_REGEX =
47 47
         '/' .
48
-        '(?:^|[\r\n])' .                 // line start
48
+        '(?:^|[\r\n])' . // line start
49 49
         '-----BEGIN (.+?)-----[\r\n]+' . // header
50
-        '(.+?)' .                        // payload
51
-        '[\r\n]+-----END \\1-----' .     // footer
50
+        '(.+?)' . // payload
51
+        '[\r\n]+-----END \\1-----' . // footer
52 52
         '/ms';
53 53
 
54 54
 
Please login to merge, or discard this patch.