mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-22 19:19:09 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -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 :(
|
||||
|
||||
Reference in New Issue
Block a user