diff --git a/setup/test/lint.php b/setup/test/lint.php index 5657bb0807bacb6abf4eed971fdac0b0a2e7746c..4887856182e23d3acfed19168a92dbc744f4e9e8 100644 --- a/setup/test/lint.php +++ b/setup/test/lint.php @@ -60,7 +60,7 @@ echo "Short open tags: "; $fails = array(); foreach ($scripts as $s) { $matches = array(); - if (preg_match_all('/<\?\s*(?!php|xml).*$/m', file_get_contents($s), &$matches, + if (preg_match_all('/<\?\s*(?!php|xml).*$/m', file_get_contents($s), $matches, PREG_OFFSET_CAPTURE) > 0) { foreach ($matches[0] as $match) $fails[] = array(