mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 04:14:44 +01:00
Revert change to NodeTraverserInterface
Only add this method in 1.0, to avoid any BC breaks.
This commit is contained in:
parent
5960ecfc10
commit
1cecf9efc5
@ -1,17 +1,19 @@
|
||||
Version 0.9.5-dev
|
||||
-----------------
|
||||
|
||||
* Add `NodeTraverser::removeVisitor()` method, which removes a visitor from the node traverser. This also modifies the
|
||||
corresponding `NodeTraverserInterface`.
|
||||
* Add `NodeTraverser::removeVisitor()` method, which removes a visitor from the node traverser. The method was not added
|
||||
to the corresponding `NodeTraverserInterface` to avoid BC breaks with custom traversers (it is added in version 1.0).
|
||||
|
||||
* Deprecated `PHPParser_Template` and `PHPParser_TemplateLoader`. This functionality does not belong in the main project
|
||||
and - as far as I know - nobody is using it.
|
||||
|
||||
* Fix alias resolution in `NameResolver`: Class names are now correctly handled as case-insensitive.
|
||||
|
||||
* The undefined variable error, which is used to the lexer to reset the error state, will no longer interfere with
|
||||
* The undefined variable error, which is used in the lexer to reset the error state, will no longer interfere with
|
||||
custom error handlers.
|
||||
|
||||
* Make lexer compatible with `xdebug.scream`.
|
||||
|
||||
Version 0.9.4 (25.08.2013)
|
||||
--------------------------
|
||||
* [PHP 5.5] Add support for `ClassName::class`. This is parsed as an `Expr_ClassConstFetch` with `'class'` being the
|
||||
|
@ -9,13 +9,6 @@ interface PHPParser_NodeTraverserInterface
|
||||
*/
|
||||
function addVisitor(PHPParser_NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Removes an added visitor.
|
||||
*
|
||||
* @param PHPParser_NodeVisitor $visitor
|
||||
*/
|
||||
function removeVisitor(PHPParser_NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Traverses an array of nodes using the registered visitors.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user