Bug 459664 - PHP 8.0: Allow trailing comma in parameter list
Summary: PHP 8.0: Allow trailing comma in parameter list
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: 5.9.220801
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 15:52 UTC by Heinz Wiesinger
Modified: 2023-07-16 07:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.12.230800
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heinz Wiesinger 2022-09-25 15:52:14 UTC
PHP 8.0 added support for a trailing comma in function parameter lists:

https://wiki.php.net/rfc/trailing_comma_in_parameter_list
Comment 1 Heinz Wiesinger 2022-10-02 08:31:20 UTC
Git commit 3560fcad83b2f3e1a608154b726f5f83d4a869c7 by Heinz Wiesinger.
Committed on 02/10/2022 at 08:30.
Pushed by wiesinger into branch 'trailing_comma'.

Add support for PHP 8.0's trailing comma in function parameter lists

M  +91   -2    duchain/tests/expressionparser.cpp
M  +5    -0    duchain/tests/expressionparser.h
M  +3    -1    parser/php.g

https://invent.kde.org/kdevelop/kdev-php/commit/3560fcad83b2f3e1a608154b726f5f83d4a869c7
Comment 2 Heinz Wiesinger 2023-07-16 07:48:32 UTC
Git commit 3b46bce0e8340230aa708b9f38c3c5a0ebb71c8e by Heinz Wiesinger.
Committed on 16/07/2023 at 07:39.
Pushed by wiesinger into branch 'master'.

Add support for PHP 8.0's trailing comma in function parameter lists
FIXED-IN: 5.12.230800

M  +91   -2    duchain/tests/expressionparser.cpp
M  +5    -0    duchain/tests/expressionparser.h
M  +3    -1    parser/php.g

https://invent.kde.org/kdevelop/kdev-php/-/commit/3b46bce0e8340230aa708b9f38c3c5a0ebb71c8e