History log of /PHP-Parser/lib/PhpParser/Builder/Use_.php (Results 1 – 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 263fa80b 14-Sep-2023 Markus Staab

Use more precise Use_::TYPE_* types (#945)

For better static analysis support in consuming projects.


# 502b0909 16-Aug-2023 Nikita Popov

Add property types

Types omitted in two places where we violate them currently:
Namespace_::$stmts can be null during parsing, and Enum_::$scalarType
can be a complex type for invali

Add property types

Types omitted in two places where we violate them currently:
Namespace_::$stmts can be null during parsing, and Enum_::$scalarType
can be a complex type for invalid programs.

show more ...


# 6af20446 11-Sep-2022 Nikita Popov

Add some missing property types


# 4917c71a 03-Sep-2022 Nikita Popov

Rename Stmt\UseUse to UseItem


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


# 46221a09 06-Jan-2021 Tomas Votruba

Update Use_ builder to return specific type


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, 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
# 7f72c841 10-Jan-2018 Gabriel Caruso

[CS] Open class brackets in new line


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


# ec535ea1 13-Aug-2017 TomasVotruba

[cs] use PHP 5.4 short array, since PHP 7.0 is min version


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

Generate PHP 7 type annotations


# 3da18976 28-Apr-2017 Nikita Popov

Distinguish between implicit/explicit alias

The UseUse::$alias node can now be null if an alias is not
explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar"
are now repres

Distinguish between implicit/explicit alias

The UseUse::$alias node can now be null if an alias is not
explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar"
are now represented differently.

The UseUse->getAlias() method replicates the previous semantics,
by returning "Bar" in both cases.

show more ...


# 7419649e 24-Apr-2017 Nikita Popov

Change BuilderAbstract into BuilderHelpers static class

Used as poor man's function namespace here.


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

Drop support for PHP 5.5


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0, v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0
# 5ede1678 12-Jul-2015 Nikita Popov

Fix infinite recursion in Use builder __call


Revision tags: v1.3.0, v1.2.2, v1.2.1, v1.2.0
# 0c347067 10-Mar-2015 Nikita Popov

Add "use" builder