History log of /PHP-Parser/test/PhpParser/NodeVisitor/NameResolverTest.php (Results 1 – 25 of 47)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8d09ba87 17-Sep-2024 Nikita Popov

Support PropertyHooks in NameResolver


# daaadc3b 03-Jun-2024 Jorg Adam Sowa

Adjust tests to be compatible with PHPUnit 10 (#998)

This avoids warnings on PHPUnit 10, without actually
switching to PHPUnit 10.


# d57da64d 31-May-2024 Jorg Adam Sowa

Add missing void return types (#997)


# f6665007 28-Nov-2023 Ondrej Mirtes

Fix NameResolver for class constant native type


# 23647573 21-May-2023 Nikita Popov

Represent names using string rather than array of parts

In most circumstances we are interested in the whole string, not
the parts split by namespace separator. As names are common, this

Represent names using string rather than array of parts

In most circumstances we are interested in the whole string, not
the parts split by namespace separator. As names are common, this
representation measurably improves memory usage and performance.

show more ...


# 4917c71a 03-Sep-2022 Nikita Popov

Rename Stmt\UseUse to UseItem


# 23835d20 03-Sep-2022 Nikita Popov

Rename Scalar\LNumber to Scalar\Int_


# a5033e38 29-Aug-2022 Nikita Popov

Format tests as well

The unnecessary parentheses for "new" are a bit annoying, but I
can live with it...


# 87387caf 04-Jun-2022 Nikita Popov

Remove space before return type in pretty printer


# f09f2276 27-Nov-2021 Nikita Popov

Declare namespacedName property

For historical reasons, this property is used by the NameResolver
(in default mode). Declare it explicitly, rather than using a doc
comment.


# ace6c67a 02-Sep-2021 Nikita Popov

Add support for intersection types


# 3fb73520 03-Jul-2021 Bob Weinand

Add handling for Enum(Case)s in NameResolver


# 4c22c627 13-Sep-2020 Tomas Votruba

[PHP 8.0] Add attributes support (#661)

Adds support for PHP 8 attributes, represented using `AttrGroup` nodes
containing `Attribute` nodes. The `attrGroup` subnode is added to all
n

[PHP 8.0] Add attributes support (#661)

Adds support for PHP 8 attributes, represented using `AttrGroup` nodes
containing `Attribute` nodes. The `attrGroup` subnode is added to all
nodes that can have attributes.

This is still missing FPPP support.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...


Revision tags: v4.3.0
# 664c1012 25-Oct-2019 Nikita Popov

Add support for union types

We definitely need to introduce a general "Type" abstraction in
the next major version.


Revision tags: v4.2.5, v4.2.4, v4.2.3
# 624f71fa 04-Jun-2019 hoels <51371415+hoels@users.noreply.github.com>

Resolve return type of arrow functions (#613)


Revision tags: v4.2.2
# f3b19c19 09-May-2019 Tomáš Votruba

[PHP 7.4] Add support for arrow functions (#602)

Per RFC https://wiki.php.net/rfc/arrow_functions_v2.


Revision tags: v4.2.1
# b7e63615 19-Jan-2019 Lars Moelleken

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->willReturn()"
- "UseTest.php" -> add missing namespace
- "composer.json" -> use "autoload-dev"
- remove -> "require_once" usage in the tests (use autoload-dev via composer.json)

-> most of the changes are done automatically by "https://github.com/rectorphp/rector"

show more ...


Revision tags: v4.2.0
# af8c7296 05-Jan-2019 Tomas Votruba

Add PHP 7.4 typed properties support


Revision tags: 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


# e0a20430 10-Jan-2018 Gabriel Caruso

[CS] Space before casting


Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2
# b58157f0 02-Nov-2017 TomasVotruba

add strict_types to tests + fix explode type


Revision tags: v4.0.0alpha1, v3.1.1
# af128074 13-Aug-2017 TomasVotruba

[cs] apply same to tests


Revision tags: v3.1.0, v3.0.6
# 3c44785e 27-Apr-2017 Ekin

Bump phpunit version (#381)


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

Make useExpressionStatement only supported mode


# f21309f5 26-Dec-2016 Nikita Popov

Add NameResolver mode that does not modify nodes


12