History log of /PHP-Parser/test/PhpParser/NodeAbstractTest.php (Results 26 – 49 of 49)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4
# c7ada124 13-Jan-2018 Nikita Popov

[CS] Use ::class notation instead of string

Conflicts:
test/PhpParser/ParserFactoryTest.php
test/PhpParser/ParserTest.php


# 7f72c841 10-Jan-2018 Gabriel Caruso

[CS] Open class brackets in new line


# 5285df8f 13-Jan-2018 Nikita Popov

[CS] Use elseif instead of else if

Conflicts:
lib/PhpParser/TokenStream.php


Revision tags: v4.0.0alpha3, v3.1.3
# 83b95876 12-Dec-2017 Gabriel Caruso

Refactoring tests


Revision tags: v4.0.0alpha2
# 47c973b3 04-Nov-2017 Nikita Popov

Store start token position in comments


Revision tags: v3.1.2
# b58157f0 02-Nov-2017 TomasVotruba

add strict_types to tests + fix explode type


Revision tags: v4.0.0alpha1
# cc328a4c 29-Sep-2017 Nikita Popov

Add get{Start,End}{Line,TokenPos,FilePos}() methods


# 3d4621bb 29-Sep-2017 Nikita Popov

Don't return by ref from getAttribute()

This is not worth the few times where it might be useful.


# d8f91733 29-Sep-2017 Nikita Popov

Add Node::getComments() method


Revision tags: v3.1.1
# af128074 13-Aug-2017 TomasVotruba

[cs] apply same to tests


Revision tags: v3.1.0, v3.0.6
# b1af3d1f 05-May-2017 Wes

Add Node::setAttributes() (#385)


# 92275bdf 29-Apr-2017 Nikita Popov

Remove Node::setLine() method


# a32e3797 28-Apr-2017 Nikita Popov

Generate PHP 7 type annotations


# a6846e3b 28-Apr-2017 Nikita Popov

Always use Identifier nodes

The parser will now always generate Identifier nodes (for
non-namespaced identifiers). This obsoletes the useIdentifierNodes
parser option.

Node

Always use Identifier nodes

The parser will now always generate Identifier nodes (for
non-namespaced identifiers). This obsoletes the useIdentifierNodes
parser option.

Node constructors still accepts strings and will implicitly create
an Identifier wrapper. Identifier implement __toString(), so that
outside of strict-mode many things continue to work without changes.

show more ...


# 3c44785e 27-Apr-2017 Ekin

Bump phpunit version (#381)


Revision tags: v3.0.5, v3.0.4, v3.0.3
# d7f3c4f9 19-Jan-2017 Nikita Popov

Renamve Param::$name to Param::$var

As it now contains a Variable node.


# 67274b95 19-Jan-2017 Nikita Popov

Enforce useConsistentVariableNames


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2
# ea47b6e0 17-Sep-2016 Nikita Popov

Add NodeAbstract::setDocComment()


Revision tags: v3.0.0beta1, v2.1.1
# f7cb00d6 25-Jul-2016 Nikita Popov

Add missing canonicalization in test


# 7dae6c7a 25-Jul-2016 Nikita Popov

Implement JsonSerializable for Nodes and Comments

Exposes the properties and adds an additional nodeType property.


Revision tags: v3.0.0alpha1, v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# 29b9015f 02-May-2015 Nikita Popov

Drop support for old Node format


Revision tags: v1.3.0, v1.2.2, v1.2.1, v1.2.0
# a2d7e897 28-Feb-2015 Nikita Popov

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, ass

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, assigning them in the constructor, overriding
the getSubNodeNames() method and passing NULL to the first argument
of the NodeAbstract constructor.

[Deprecated: It's still possible to use the old mode of operation
for custom nodes by passing an array of subnodes to the constructor.]

The only behavior difference this should cause is that getSubNodeNames()
will always return the original subnode names and skip any additional
properties that were dynamically added. E.g. this means that the
"namespacedName" node added by the NameResolver visitor is not treated
as a subnode, but as a dynamic property instead.

This change improves performance and memory usage.

show more ...


Revision tags: v1.1.0, v1.0.2, v1.0.1
# 66fd29cb 30-Sep-2014 nikic

Use stricter assertions where possible


Revision tags: v1.0.0, v1.0.0beta2, v0.9.5, v1.0.0beta1
# f82862ec 06-Feb-2014 nikic

Port library to use namespaces, with BC for old names


12