Passed
Push — master ( ec84d3...d6dac2 )
by Darko
07:55
created
app/Extensions/util/PhpYenc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     {
40 40
         $crc = '';
41 41
         // Extract the yEnc string itself.
42
-        if (! preg_match('/=ybegin.*size=([^ $]+).*\r\n(.*)\r\n=yend.*size=([^ $\r\n]+)(.*)/ims', $text, $encoded)) {
42
+        if (!preg_match('/=ybegin.*size=([^ $]+).*\r\n(.*)\r\n=yend.*size=([^ $\r\n]+)(.*)/ims', $text, $encoded)) {
43 43
             return false;
44 44
         }
45 45
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public static function decodeIgnore(string &$text): string
103 103
     {
104
-        if (! preg_match('/^(=yBegin.*=yEnd[^$]*)$/ims', $text, $matches)) {
104
+        if (!preg_match('/^(=yBegin.*=yEnd[^$]*)$/ims', $text, $matches)) {
105 105
             return $text;
106 106
         }
107 107
 
Please login to merge, or discard this patch.