From 23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 15 Sep 2024 18:40:33 +0200 Subject: [PATCH] Release PHP-Parser 5.2.0 --- CHANGELOG.md | 4 ++-- README.md | 2 +- doc/0_Introduction.markdown | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ec8633ed3..0fac7acf1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -Version 5.2.0-dev ------------------ +Version 5.2.0 (2024-09-15) +-------------------------- ### Added diff --git a/README.md b/README.md index 7555838e27..edb3ed32f3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ PHP Parser This is a PHP parser written in PHP. Its purpose is to simplify static code analysis and manipulation. -[**Documentation for version 5.x**][doc_master] (current; for running on PHP >= 7.4; for parsing PHP 7.0 to PHP 8.3, with limited support for parsing PHP 5.x). +[**Documentation for version 5.x**][doc_master] (current; for running on PHP >= 7.4; for parsing PHP 7.0 to PHP 8.4, with limited support for parsing PHP 5.x). [Documentation for version 4.x][doc_4_x] (supported; for running on PHP >= 7.0; for parsing PHP 5.2 to PHP 8.3). diff --git a/doc/0_Introduction.markdown b/doc/0_Introduction.markdown index efcf221e07..3c1de6fc38 100644 --- a/doc/0_Introduction.markdown +++ b/doc/0_Introduction.markdown @@ -43,7 +43,7 @@ following caveats: As the parser is based on the tokens returned by `token_get_all` (which is only able to lex the PHP version it runs on), additionally a wrapper for emulating tokens from newer versions is provided. -This allows to parse PHP 8.3 source code running on PHP 7.4, for example. This emulation is not +This allows to parse PHP 8.4 source code running on PHP 7.4, for example. This emulation is not perfect, but works well in practice. Finally, it should be noted that the parser aims to accept all valid code, not reject all invalid