X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Ftest%2FCodeCleaner%2FLegacyEmptyPassTest.php;fp=vendor%2Fpsy%2Fpsysh%2Ftest%2FCodeCleaner%2FLegacyEmptyPassTest.php;h=5c4c7b0590a0fb9d4048e3da3e44a3de7c3f8d11;hp=5afb5759151ac6b99532d4975016c164b1c1bf20;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php b/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php index 5afb57591..5c4c7b059 100644 --- a/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php +++ b/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php @@ -31,7 +31,7 @@ class LegacyEmptyPassTest extends CodeCleanerTestCase public function invalidStatements() { - if (version_compare(PHP_VERSION, '5.5', '>=')) { + if (\version_compare(PHP_VERSION, '5.5', '>=')) { return [ ['empty()'], ]; @@ -58,7 +58,7 @@ class LegacyEmptyPassTest extends CodeCleanerTestCase public function validStatements() { - if (version_compare(PHP_VERSION, '5.5', '<')) { + if (\version_compare(PHP_VERSION, '5.5', '<')) { return [ ['empty($foo)'], ];