Bug 439582 - PHP 8.0: Constructor property promotion
Summary: PHP 8.0: Constructor property promotion
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: git master
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-07 07:45 UTC by Jan Pavlicek
Modified: 2022-09-25 15:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pavlicek 2021-07-07 07:45:00 UTC
SUMMARY

"Subset" of 437992.

KDevelop should support this new PHP8 feature - constructor property promotion. This feature basically allows to define class properties with defaults in the constructor, reducing boilerplate code.

https://wiki.php.net/rfc/constructor_promotion