History log of /PHP-Parser/lib/PhpParser/Modifiers.php (Results 1 – 6 of 6)
Revision Date Author Comments
# b493c51c 31-Aug-2024 Nikita Popov

[8.4] Add support for asymmetric visibility modifiers

Represented using new PRIVATE_SET, PROTECTED_SET and PUBLIC_SET
bits in Modifiers.

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

[8.4] Add support for asymmetric visibility modifiers

Represented using new PRIVATE_SET, PROTECTED_SET and PUBLIC_SET
bits in Modifiers.

RFC: https://wiki.php.net/rfc/asymmetric-visibility-v2

show more ...


# 3beee6ec 28-Jul-2024 Nikita Popov

Add Modifiers::toString() helper

Convert an integer modifier into a string.


# 48f470ea 11-Sep-2022 Nikita Popov

Add missing return types


# 031c5e6e 11-Sep-2022 Nikita Popov

Move verifyModifier/verifyClassModifier to Modifiers class

Now that the Modifiers are in a separate class, these *internal*
verification methods should also be moved there.


# a2753c82 28-Aug-2022 Nikita Popov

Require strict_types in php-cs-fixer config


# f62b2bfd 28-Aug-2022 Nikita Popov

Introduce separate Modifiers class

Use PhpParser\Modifiers::PUBLIC instead of
PhpParser\Node\Stmt\Class_::MODIFIER_PUBLIC, etc. Old constants
of course remain available.

Fix

Introduce separate Modifiers class

Use PhpParser\Modifiers::PUBLIC instead of
PhpParser\Node\Stmt\Class_::MODIFIER_PUBLIC, etc. Old constants
of course remain available.

Fixes #476.

show more ...