SUMMARY Hello, I know that PHP support is not as popular part of KDevelop, but I rely on it for work and like it very much. But since most project are migrating to either PHP 7.4 or 8.0, it would be really nice if there was support for some of the new features introduced in these versions. Major functions lacking support are: * Constructor property promotion (https://wiki.php.net/rfc/constructor_promotion) * Union types (https://wiki.php.net/rfc/union_types_v2) * Attributes (https://wiki.php.net/rfc/attributes_v2) * Nullsafe operator (https://wiki.php.net/rfc/nullsafe_operator) * Named params (https://wiki.php.net/rfc/named_params) There are problably more but I find these most important since they break syntax higligting and other checks when used. Wide adoption of these are making KDevelop increasingly unusable on PHP projects. I can offer some form of help - I know some very basic C++ and Qt and am a PHP developer, so if someone would be willing to outline the needed changes for me and point me in the right direction, I can do at least part of the work. Thanks in advance for considering this!
Hello, I'm also still using kdev-php for work, so while I can't provide a timeline, I'll definitely work on those things *eventually*. If you want to help, that's great and certainly appreciated :) You can drop by on irc and ask questions, just keep in mind that it might take some time for someone to reply. In the meantime, what you can do is perhaps split this one up. It's easier to track the progress when there's one issue for each, rather than one "super bug". Thank you! :)
Hello, unfortunately, I was not yet able to focus on this because I had to shift my priorities to different project at work. But I have since at least split this into "subtasks": Constructor properties: https://bugs.kde.org/show_bug.cgi?id=439582 Union types: https://bugs.kde.org/show_bug.cgi?id=439583 Attributes: https://bugs.kde.org/show_bug.cgi?id=439584 Nullsafe: https://bugs.kde.org/show_bug.cgi?id=439585 Named params: https://bugs.kde.org/show_bug.cgi?id=439586 I should have some time again in a week or two when I finish current projects, so I will stop by IRC for some advice and try to lend a hand at least with the simpler ones like nullsafe operator and union types, which I think shouldn't be that difficult to implement.