b11fc12c | 28-Jul-2024 |
Nikita Popov |
Use ParserFactory in integration test So we actually use the PHP 8 parser on new versions. |
3beee6ec | 28-Jul-2024 |
Nikita Popov |
Add Modifiers::toString() helper Convert an integer modifier into a string. |
58de4791 | 21-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.) |
d3ae2ed6 | 21-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 ...
|
beba9c52 | 19-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 ...
|
fadccead | 14-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. |
d8235a27 | 14-Jul-2024 |
Nikita Popov |
[8.4] Add support for __PROPERTY__ magic constant Part of property hooks RFC. |
5973c30a | 13-Jul-2024 |
Amirreza Nasiri |
Update JSON_representation.markdown Fix the invalid JSON structure |
b917ba7b | 13-Jul-2024 |
Nikita Popov |
Add PHP 8.4 to CI matrix Not using it in the integration tests yet. |
caf54044 | 13-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 ...
|
683130c2 | 01-Jul-2024 |
Nikita Popov |
Release PHP-Parser 5.1.0 |
a894652a | 01-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 ...
|
3ef0811e | 12-Jun-2024 |
Jing Xu(RainX) |
Fix a typo: Dereferencable to Dereferenceable |
db1963f9 | 12-Jun-2024 |
Jing Xu(RainX) |
Fix a typo: `Dereferenceing` to `Dereferencing` |
daaadc3b | 03-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. |
7b0384cd | 25-May-2024 |
Nikita Popov |
[8.4] Add support for new deref without parens RFC: https://wiki.php.net/rfc/new_without_parentheses |
d57da64d | 31-May-2024 |
Jorg Adam Sowa |
Add missing void return types (#997) |
d327cf2a | 20-May-2024 |
Jorg Sowa |
Updated actions/checkout to v4 |
c5ee33df | 19-Apr-2024 |
Markus Staab |
Declare more precise phpdoc types (#993) |
46be4560 | 17-Mar-2024 |
Nikita Popov |
Use PHP 8.3 for more CI jobs |
f2e037f8 | 17-Mar-2024 |
Markus Staab |
Make phpunit fail on deprecation warnings (#989) (cherry picked from commit 4d36e9c16f4820c2ed9360bc818982f3c02a08f5) |
b43758e9 | 17-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. |
09691fc8 | 13-Mar-2024 |
Markus Staab |
Prevent off-by-one errors in line-number related methods |
13967679 | 05-Mar-2024 |
Nikita Popov |
Release PHP-Parser 5.0.2 |
70c96493 | 02-Mar-2024 |
Nikita Popov |
Fix indentation detection after opening tag Fixes #982. |