History log of /PHP-Parser/ (Results 26 – 50 of 1688)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
58de479121-Jul-2024 Nikita Popov

Remove error for abstract/final properties

These are allowed since PHP 8.4, with the introduction of property
hooks. (Abstract properties require hooks, which is not validated
here.)

d3ae2ed621-Jul-2024 Nikita Popov

Respect version mode line in pretty printer tests

By default parser uses newest supported and pretty printer uses
its default version. If version is specified, it's used for both
par

Respect version mode line in pretty printer tests

By default parser uses newest supported and pretty printer uses
its default version. If version is specified, it's used for both
parser and printer. Additionally, parserVersion can be used to
specify a different version for parser and printer.

show more ...

beba9c5219-Jul-2024 Nikita Popov

Remove support for alternative array syntax in PHP 8 parser

We cannot support both this syntax and property hooks. Drop
support for the alternative syntax in the PHP 8 parser. The
PH

Remove support for alternative array syntax in PHP 8 parser

We cannot support both this syntax and property hooks. Drop
support for the alternative syntax in the PHP 8 parser. The
PHP 7 parser still supports it.

show more ...

fadccead14-Jul-2024 Nikita Popov

Avoid compatibilty token list in parser

Create the mapping using the entries in symbolToName, so we don't
need to repeat the compatibility tokens in another place.

d8235a2714-Jul-2024 Nikita Popov

[8.4] Add support for __PROPERTY__ magic constant

Part of property hooks RFC.

5973c30a13-Jul-2024 Amirreza Nasiri

Update JSON_representation.markdown

Fix the invalid JSON structure

b917ba7b13-Jul-2024 Nikita Popov

Add PHP 8.4 to CI matrix

Not using it in the integration tests yet.

caf5404413-Jul-2024 Nikita Popov

Declare PHP 8.4 as the newest supported version

As the comment indicates, this includes partially supported
versions. PHP-Parser includes support for all parts of PHP 8.4
that have l

Declare PHP 8.4 as the newest supported version

As the comment indicates, this includes partially supported
versions. PHP-Parser includes support for all parts of PHP 8.4
that have landed in php-src.

show more ...

683130c201-Jul-2024 Nikita Popov

Release PHP-Parser 5.1.0

a894652a01-Jul-2024 Nikita Popov

Fix ternary precedence printing

The precedence table set the LHS and RHS precedence for the
ternary to -1, which is the dummy value used for unary operators.
Instead, it should be th

Fix ternary precedence printing

The precedence table set the LHS and RHS precedence for the
ternary to -1, which is the dummy value used for unary operators.
Instead, it should be the same as the operator precedence, as
the ternary is non-associative since PHP 8.

Fixes #1009.

show more ...

3ef0811e12-Jun-2024 Jing Xu(RainX)

Fix a typo: Dereferencable to Dereferenceable

db1963f912-Jun-2024 Jing Xu(RainX)

Fix a typo: `Dereferenceing` to `Dereferencing`

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

7b0384cd25-May-2024 Nikita Popov

[8.4] Add support for new deref without parens

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

d57da64d31-May-2024 Jorg Adam Sowa

Add missing void return types (#997)


test/PhpParser/Builder/ClassConstTest.php
test/PhpParser/Builder/ClassTest.php
test/PhpParser/Builder/EnumCaseTest.php
test/PhpParser/Builder/EnumTest.php
test/PhpParser/Builder/FunctionTest.php
test/PhpParser/Builder/InterfaceTest.php
test/PhpParser/Builder/MethodTest.php
test/PhpParser/Builder/NamespaceTest.php
test/PhpParser/Builder/ParamTest.php
test/PhpParser/Builder/PropertyTest.php
test/PhpParser/Builder/TraitTest.php
test/PhpParser/Builder/TraitUseAdaptationTest.php
test/PhpParser/Builder/TraitUseTest.php
test/PhpParser/Builder/UseTest.php
test/PhpParser/BuilderFactoryTest.php
test/PhpParser/BuilderHelpersTest.php
test/PhpParser/CodeParsingTest.php
test/PhpParser/CommentTest.php
test/PhpParser/CompatibilityTest.php
test/PhpParser/ConstExprEvaluatorTest.php
test/PhpParser/ErrorHandler/CollectingTest.php
test/PhpParser/ErrorHandler/ThrowingTest.php
test/PhpParser/ErrorTest.php
test/PhpParser/Internal/DifferTest.php
test/PhpParser/JsonDecoderTest.php
test/PhpParser/Lexer/EmulativeTest.php
test/PhpParser/LexerTest.php
test/PhpParser/NameContextTest.php
test/PhpParser/Node/Expr/CallableLikeTest.php
test/PhpParser/Node/IdentifierTest.php
test/PhpParser/Node/NameTest.php
test/PhpParser/Node/ParamTest.php
test/PhpParser/Node/Scalar/DNumberTest.php
test/PhpParser/Node/Scalar/MagicConstTest.php
test/PhpParser/Node/Scalar/NumberTest.php
test/PhpParser/Node/Scalar/StringTest.php
test/PhpParser/Node/Stmt/ClassConstTest.php
test/PhpParser/Node/Stmt/ClassMethodTest.php
test/PhpParser/Node/Stmt/ClassTest.php
test/PhpParser/Node/Stmt/InterfaceTest.php
test/PhpParser/Node/Stmt/PropertyTest.php
test/PhpParser/NodeAbstractTest.php
test/PhpParser/NodeDumperTest.php
test/PhpParser/NodeFinderTest.php
test/PhpParser/NodeTraverserTest.php
test/PhpParser/NodeVisitor/FindingVisitorTest.php
test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php
test/PhpParser/NodeVisitor/NameResolverTest.php
test/PhpParser/NodeVisitor/NodeConnectingVisitorTest.php
test/PhpParser/NodeVisitor/ParentConnectingVisitorTest.php
test/PhpParser/ParserFactoryTest.php
test/PhpParser/ParserTest.php
test/PhpParser/PhpVersionTest.php
test/PhpParser/PrettyPrinterTest.php
test/PhpParser/TokenTest.php
tools/fuzzing/target.php
d327cf2a20-May-2024 Jorg Sowa

Updated actions/checkout to v4

c5ee33df19-Apr-2024 Markus Staab

Declare more precise phpdoc types (#993)

46be456017-Mar-2024 Nikita Popov

Use PHP 8.3 for more CI jobs

f2e037f817-Mar-2024 Markus Staab

Make phpunit fail on deprecation warnings (#989)

(cherry picked from commit 4d36e9c16f4820c2ed9360bc818982f3c02a08f5)

b43758e917-Mar-2024 Nikita Popov

Remove PHPUnit 7 and 8

PHPUnit 9 supports all the PHP versions that we need. Also update
the PHPUnit config schema.

09691fc813-Mar-2024 Markus Staab

Prevent off-by-one errors in line-number related methods

1396767905-Mar-2024 Nikita Popov

Release PHP-Parser 5.0.2

70c9649302-Mar-2024 Nikita Popov

Fix indentation detection after opening tag

Fixes #982.

ec02613401-Mar-2024 Maarten Buis

Update `PhpVersion::getNewestSupported()` to PHP 8.3

af14fdb221-Feb-2024 Nikita Popov

Avoid cyclic reference in parser

Pass $this as an explicit $self argument to the reduce callbacks,
so we can make them static. This avoids a circular reference in
the parser, so that

Avoid cyclic reference in parser

Pass $this as an explicit $self argument to the reduce callbacks,
so we can make them static. This avoids a circular reference in
the parser, so that it can be immediately destroyed when it goes
out of scope.

Fixes #980.

show more ...

12345678910>>...68