X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Ftest%2FCodeCleaner%2FNamespacePassTest.php;h=e8f013961cb8694f74eac975f9050d880b9d0276;hp=0c28dc6e47e01d342b37e26ba039b04bc2768c85;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/psy/psysh/test/CodeCleaner/NamespacePassTest.php b/vendor/psy/psysh/test/CodeCleaner/NamespacePassTest.php index 0c28dc6e4..e8f013961 100644 --- a/vendor/psy/psysh/test/CodeCleaner/NamespacePassTest.php +++ b/vendor/psy/psysh/test/CodeCleaner/NamespacePassTest.php @@ -43,7 +43,7 @@ class NamespacePassTest extends CodeCleanerTestCase // A new block namespace clears out the current namespace... $this->parseAndTraverse('namespace Gamma { array_merge(); }'); - if (defined('PhpParser\\Node\\Stmt\\Namespace_::KIND_SEMICOLON')) { + if (\defined('PhpParser\\Node\\Stmt\\Namespace_::KIND_SEMICOLON')) { $this->assertNull($this->cleaner->getNamespace()); } else { // But not for PHP-Parser < v3.1.2 :(