diff --git a/phpcs.xml b/phpcs.xml index 07193089..81e1ca6e 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,6 +1,6 @@ - - + + src/ diff --git a/src/Twig/Extension/ReflectionExtension.php b/src/Twig/Extension/ReflectionExtension.php index 0c395c92..394faedf 100644 --- a/src/Twig/Extension/ReflectionExtension.php +++ b/src/Twig/Extension/ReflectionExtension.php @@ -64,7 +64,7 @@ public function getFilters() '/, \(/', '/^\((.*)\)$/', '/(?<=[(<|&])\\\\/', - '/^\\\\/' + '/^\\\\/', ], ['${1}', '<', '>', ', ', ', ', '${1}', '', ''], (string)$type