Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / test / CodeCleaner / LegacyEmptyPassTest.php
index 5afb5759151ac6b99532d4975016c164b1c1bf20..5c4c7b0590a0fb9d4048e3da3e44a3de7c3f8d11 100644 (file)
@@ -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)'],
             ];