#
9b46dffb |
| 11-Sep-2022 |
Nikita Popov |
Fix formatting preservation for alternative elseif/else syntax Test taken from PR #797.
|
#
f59f226f |
| 11-Sep-2022 |
Nikita Popov |
Fix some phpstan warnings
|
#
636f066b |
| 05-Sep-2022 |
Nikita Popov |
Use Node\ClosureUse instead of Expr\ClosureUse in parser Fixes #883.
|
#
4917c71a |
| 03-Sep-2022 |
Nikita Popov |
Rename Stmt\UseUse to UseItem
|
#
e1345f0c |
| 03-Sep-2022 |
Nikita Popov |
Rename Stmt\PropertyProperty to PropertyItem
|
#
03ccfa3d |
| 03-Sep-2022 |
Nikita Popov |
Rename Stmt\DeclareDeclare to DeclareItem
|
#
a44faa63 |
| 03-Sep-2022 |
Nikita Popov |
Rename Scalar\Encapsed to Scalar\InterpolatedString
|
#
f4ec6a1e |
| 03-Sep-2022 |
Nikita Popov |
Rename Scalar\EncapsedStringPart to InterpolatedStringPart It is no longer an expression node, which unfortunately does require a more awkward type for the Encaps node.
|
#
66b20bd6 |
| 03-Sep-2022 |
Nikita Popov |
Rename Scalar\DNumber to Scalar\Float_
|
#
035c1c7c |
| 02-Sep-2022 |
Nikita Popov |
Rename Stmt\StaticVar to StaticVar This is part of a statement, not a statement by itself.
|
#
8be56afd |
| 02-Sep-2022 |
Nikita Popov |
Rename Expr\ArrayItem to ArrayItem Array items are not expressions by themselves.
|
#
09339862 |
| 01-Sep-2022 |
Nikita Popov |
Make sure Array nodes can not contain null Now that destructuring is always represented using List nodes, make sure that Array nodes can no longer contain null elements, so well-type
Make sure Array nodes can not contain null Now that destructuring is always represented using List nodes, make sure that Array nodes can no longer contain null elements, so well-typed code doesn't have to deal with them unnecessarily. If an array does contain empty elements, these are now result in an error and are represented as a ArrayItem with Error value if error recovery is used. The implementation is a bit tricky because at the time the Array node is created, we cannot tell whether it will be used in a creation or destructuring context. For this reason the error reporting is delayed parsing has finished. Closes #876.
show more ...
|
#
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 ...
|
#
68fc1ba4 |
| 28-Aug-2022 |
Nikita Popov |
Always use List_ node for array destructuring Fixes #471.
|
#
9b2a01aa |
| 07-Aug-2022 |
George Peter Banyard |
Add support for DNF types (#862)
|
#
1e89658c |
| 23-Jul-2022 |
Nikita Popov |
Add PhpVersion class
|
#
050342b5 |
| 04-Jul-2022 |
MathiasReker |
Add visibility modifiers to constants Closes GH-848.
|
#
0ea134a5 |
| 19-Jun-2022 |
Nikita Popov |
Add PHP 8 parser with correct concatenation precedence The PHP 7 and PHP 8 parsers use the same grammar file and only differ in token precedence.
|