D7018: Allow optional parameters before non-optional ones in PHP
Matthijs Tijink
noreply at phabricator.kde.org
Mon Jul 31 13:20:15 UTC 2017
mtijink created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
PHP allows default values for parameters, even if later parameters do not have default values (it does not using those default values while calling functions though). This diff adds support for that, by dropping the default values of arguments before the last non-optional argument.
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
default_values_allowed_before_required_values
REVISION DETAIL
https://phabricator.kde.org/D7018
AFFECTED FILES
duchain/builders/declarationbuilder.cpp
duchain/builders/declarationbuilder.h
duchain/tests/duchain.cpp
duchain/tests/duchain.h
To: mtijink, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170731/876ccf43/attachment.html>
More information about the KDevelop-devel
mailing list