History log of /PHP-Parser/test/PhpParser/BuilderFactoryTest.php (Results 1 – 25 of 36)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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)


# 2df8878f 29-Jan-2023 Nikita Popov

[PHP 8.3] Support dynamic class const fetch

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


# 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...


# a73c8ee0 23-Jul-2022 Nikita Popov

Add a phpVersion option to the pretty printer

This is currently just used to initialize the default for short
array syntax.

The default target version in 7.0, which also means t

Add a phpVersion option to the pretty printer

This is currently just used to initialize the default for short
array syntax.

The default target version in 7.0, which also means that the
default for short arrays is flipped to on.

show more ...


# 6c0b63d9 25-Jan-2022 Dominik Peters

Change print order of modifiers

Print abstract/final before visibility modifiers, in line with
PSR-12.

Closes #826.


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

Added builders for enum and enum case


# 2d193bb0 16-Jun-2021 simivar

Add attributes to integration Builder test


# 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
# d638dd9b 22-Sep-2018 Tomáš Votruba

Use methods instead of annotations for expected exceptions (#533)


Revision tags: v4.0.4
# 41408081 22-Jul-2018 Nikita Popov

Rename setTypeHint() to setType()

To align with modern terminology -- we don't like calling these
type hints anymore. Old method name remains, marked as @deprecated.


# 82e8b338 22-Jul-2018 ProgMiner

Add some trait use factory builder integration tests


# 0cd7207c 20-Jul-2018 Nikita Popov

Add tests for var() and propertyFetch()


# b855c1ca 20-Jul-2018 Nikita Popov

Add some tests for new use builders


Revision tags: v4.0.3, v4.0.2, 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
# c7ada124 13-Jan-2018 Nikita Popov

[CS] Use ::class notation instead of string

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


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
# 31065389 02-Sep-2017 Nikita Popov

Remove workarounds for reserved keyword method names

No longer necessary in PHP 7.


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

[cs] apply same to tests


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

Add BuilderFactors->args(Add BuilderFactors->args())


12