History log of /PHP-Parser/lib/PhpParser/BuilderFactory.php (Results 1 – 25 of 36)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6a970612 10-Aug-2024 Ruud Kamphuis

Normalize enum value to ClassConstFetch

Fixes #930

(cherry picked from commit 8a21ec3182533ee6448a4efb8d238a4163b89297)


# ab51e9d3 17-Sep-2023 Nikita Popov

Remove superfluous phpdoc tags

These just specify a type that is already specified as a real PHP
type.


# 2d3dd4e2 17-Sep-2023 Nikita Popov

Don't align phpdoc tags

I did this to start with, but then alignment kept being broken
during refactorings, and at some point I switched to not aligning,
and now we have a big mess.

Don't align phpdoc tags

I did this to start with, but then alignment kept being broken
during refactorings, and at some point I switched to not aligning,
and now we have a big mess.

Add a php-cs-fixer rule to consistently not align phpdoc tags.

show more ...


# 2df8878f 29-Jan-2023 Nikita Popov

[PHP 8.3] Support dynamic class const fetch

RFC: https://wiki.php.net/rfc/dynamic_class_constant_fetch


# 8ad41294 14-Dec-2022 Markus Staab

Declare list types (#907)

Closes #905


# b3ad14b9 17-Sep-2022 Nikita Popov

Fix some types


# dd63ddbc 28-Aug-2022 Nikita Popov

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired st

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired style, which is PSR-12, but with sane brace placement.

show more ...


# 99a24b6a 05-Nov-2021 Jaroslav Hanslík

Added builders for enum and enum case


# eccf1bf4 14-Jun-2021 Krystian Marcisz

Add Attribute builder and support for named args (#781)

Add BuilderFactory::attribute() and support named args in BuilderFactory::args().


# d46f261e 21-Mar-2021 WhizSid

Adding class constant to builder factory (#765)

* Adding class constant to builder factory

* Fix formatting,doc issues and Tweak returning node from ClassConst

* Fix PHPUnit


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, 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, v4.1.1, v4.1.0, v4.0.4
# f6fc248c 20-Jul-2018 ProgMiner

Add TraitUseAdaptation and factory for it


# 84dcd179 20-Jul-2018 ProgMiner

Add TraitUse builder and useTrait builder factory


# 0cd7207c 20-Jul-2018 Nikita Popov

Add tests for var() and propertyFetch()


# 6751ac3c 20-Jul-2018 Eridan Domoratskiy

Add Variable and PropertyFetch node constructors


# b855c1ca 20-Jul-2018 Nikita Popov

Add some tests for new use builders


# 53c732a9 19-Jul-2018 Eridan Domoratskiy

Add useFunction() and useConst() builder methods


Revision tags: v4.0.3, v4.0.2
# ee870e34 19-May-2018 Gabriel Caruso

Fixes from PHPStan (#502)


Revision tags: v4.0.1
# 610617fe 03-Mar-2018 Nikita Popov

Also add new() builder


# ff2d85dc 03-Mar-2018 Nikita Popov

Add constFetch() and classConstFetch() builders


# b998d1e9 03-Mar-2018 Nikita Popov

Add funcCall(), methodCall() and staticCall() builders


Revision tags: v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1
# 31065389 02-Sep-2017 Nikita Popov

Remove workarounds for reserved keyword method names

No longer necessary in PHP 7.


Revision tags: v3.1.1
# e2e99f26 18-Aug-2017 TomasVotruba

Add strict_types to lib code


# 58bf92e4 13-Aug-2017 TomasVotruba

[cs] remove unused imports


Revision tags: v3.1.0, v3.0.6
# a32e3797 28-Apr-2017 Nikita Popov

Generate PHP 7 type annotations


12