Test Failed
Branch master (252363)
by Maxim
04:37 queued 02:45
created
src/Parser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
     {
400 400
         $result = preg_replace_callback(
401 401
             '{`([^`]|\\\\`)+((?<!\\\\)`)}',
402
-            function (array $matches) {
402
+            function(array $matches) {
403 403
                 return addcslashes($matches[0], ',');
404 404
             },
405 405
             $handlers
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
         $result = [];
423 423
         $conditions = preg_replace_callback(
424 424
             '{`([^`]|\\\\`)+((?<!\\\\)`)}',
425
-            function (array $matches) {
425
+            function(array $matches) {
426 426
                 return addcslashes($matches[0], '&|');
427 427
             },
428 428
             $conditions
@@ -564,11 +564,11 @@  discard block
 block discarded – undo
564 564
      */
565 565
     private function resolveClassNames(string $expression): string
566 566
     {
567
-        $expression = preg_replace_callback('/"[^"]"|\'[^\']\'/', function (array $matches) {
567
+        $expression = preg_replace_callback('/"[^"]"|\'[^\']\'/', function(array $matches) {
568 568
             return str_replace(':', ':\\', $matches[0]);
569 569
         }, $expression);
570 570
         $expression = preg_replace('/(?<!:):(?=([a-zA-Z_][a-zA-Z0-9_]*))/', "$this->namespace\\", $expression);
571
-        $expression = preg_replace_callback('/"[^"]"|\'[^\']\'/', function (array $matches) {
571
+        $expression = preg_replace_callback('/"[^"]"|\'[^\']\'/', function(array $matches) {
572 572
             return str_replace(':\\', ':', $matches[0]);
573 573
         }, $expression);
574 574
         return $expression;
Please login to merge, or discard this patch.
src/CommentLexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             }
63 63
             $code = preg_replace_callback(
64 64
                 '/`([^`]|\\\\`)+((?<!\\\\)`)/',
65
-                function (array $matches): string {
65
+                function(array $matches): string {
66 66
                     return addcslashes($matches[0], '\\');
67 67
                 },
68 68
                 $this->getAxsComment()
Please login to merge, or discard this patch.