History log of /PHP-Parser/ (Results 1 – 25 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
05ed795918-Nov-2024 Jorg Sowa

Removed unrecheable statement

954f7a4105-Nov-2024 Markus Staab

More precise `toLowerString()` return type

8eea230408-Oct-2024 Nikita Popov

Release PHP-Parser 5.3.1

9c7a3f8d08-Oct-2024 Nikita Popov

Support declaring functions with name exit/die

For use in stubs.

Fixes #1030.

26573ea607-Oct-2024 Markus Staab

Makefile works on windows

3abf742529-Sep-2024 Nikita Popov

Release PHP-Parser 5.3.0

961f158f29-Sep-2024 Nikita Popov

Avoid negative indendation in formatting-preserving printer

Fixes #1015.

e50c67b721-Sep-2024 Nikita Popov

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is currenlty hardcoded to 4, but also shouldn't matter
much.

Possibly the formatting-preserving printer should auto-detect
the indentation in the future.

show more ...

26a0197121-Sep-2024 Nikita Popov

Use PHP 8.4 for the PHP 7.4 integration test

aedfcc2321-Sep-2024 Nikita Popov

Include trailing semicolon in GroupUse

Fixes https://github.com/nikic/PHP-Parser/issues/1026.

8d09ba8717-Sep-2024 Nikita Popov

Support PropertyHooks in NameResolver

23c79fbb15-Sep-2024 Nikita Popov

Release PHP-Parser 5.2.0

b9c8374415-Sep-2024 Nikita Popov

Run PHP 8.4 integration tests

d0826bd315-Sep-2024 Nikita Popov

Add changelog entries

5ea6c29305-Sep-2024 Nikita Popov

Exclude integration test

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

54139ca401-Sep-2024 Nikita Popov

Disable fail-fast

PHP 8.4 currently fails because the version is installed version
is too old. Avoid cancelling other CI jobs because of that.

cde9bab301-Sep-2024 Nikita Popov

Add support for PHP 8.4 exit function

For backwards-compatibility, parse the simple single argument
case into an Exit_ node as previously. For more complex
expressions generate a fun

Add support for PHP 8.4 exit function

For backwards-compatibility, parse the simple single argument
case into an Exit_ node as previously. For more complex
expressions generate a function call.

show more ...

018da15f31-Aug-2024 Nikita Popov

Add token emulation support for asymmetric visibility modifiers

ba14437113-Aug-2024 evenevent

chore: fix comment

Signed-off-by: evenevent <digping@icloud.com>

4a22c15111-Aug-2024 Nikita Popov

Validate options in test_old

Regularly try to use this one with --version instead of
--php-version, which fails in a non-obvious way.

514f710211-Aug-2024 Nikita Popov

Fix for new php-cs-fixer version

6a97061210-Aug-2024 Ruud Kamphuis

Normalize enum value to ClassConstFetch

Fixes #930

(cherry picked from commit 8a21ec3182533ee6448a4efb8d238a4163b89297)

e3f223f628-Jul-2024 Nikita Popov

Fix expected json dump for old PHP versions

03caf4cc14-Jul-2024 Nikita Popov

[8.4] Add support for property hooks

Add hooks subnode to Stmt\Property and Param, which contains an
array of PropertyHook.

The property hook support is considered experimental

[8.4] Add support for property hooks

Add hooks subnode to Stmt\Property and Param, which contains an
array of PropertyHook.

The property hook support is considered experimental and subject
to change.

RFC: https://wiki.php.net/rfc/property-hooks

show more ...


grammar/php.y
lib/PhpParser/Builder/Property.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/PropertyHook.php
lib/PhpParser/Node/Stmt/Property.php
lib/PhpParser/Parser/Php7.php
lib/PhpParser/Parser/Php8.php
lib/PhpParser/ParserAbstract.php
lib/PhpParser/PrettyPrinter/Standard.php
lib/PhpParser/PrettyPrinterAbstract.php
test/PhpParser/Builder/PropertyTest.php
test/PhpParser/NodeAbstractTest.php
test/code/formatPreservation/property_hooks.test
test/code/parser/commentAtEndOfClass.test
test/code/parser/errorHandling/recovery.test
test/code/parser/expr/arrow_function.test
test/code/parser/expr/closure.test
test/code/parser/expr/uvs/indirectCall.test
test/code/parser/semiReserved.test
test/code/parser/stmt/attributes.test
test/code/parser/stmt/class/anonymous.test
test/code/parser/stmt/class/implicitPublic.test
test/code/parser/stmt/class/modifier_error.test
test/code/parser/stmt/class/php4Style.test
test/code/parser/stmt/class/propertyTypes.test
test/code/parser/stmt/class/property_hooks.test
test/code/parser/stmt/class/property_modifiers.test
test/code/parser/stmt/class/property_promotion.test
test/code/parser/stmt/class/simple.test
test/code/parser/stmt/function/builtinTypeDeclarations.test
test/code/parser/stmt/function/byRef.test
test/code/parser/stmt/function/defaultValues.test
test/code/parser/stmt/function/disjointNormalFormTypes.test
test/code/parser/stmt/function/intersectionTypes.test
test/code/parser/stmt/function/nullableTypes.test
test/code/parser/stmt/function/parameters_trailing_comma.test
test/code/parser/stmt/function/typeDeclarations.test
test/code/parser/stmt/function/typeVersions.test
test/code/parser/stmt/function/unionTypes.test
test/code/parser/stmt/function/variadic.test
test/code/parser/stmt/function/variadicDefaultValue.test
test/code/parser/stmt/newInInitializer.test
test/code/prettyPrinter/stmt/property_hooks.test

12345678910>>...68