D14876: Improved type detection for object properties.
Heinz Wiesinger
noreply at phabricator.kde.org
Thu Aug 16 13:28:55 BST 2018
pprkut created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
pprkut requested review of this revision.
REVISION SUMMARY
This should solve long standing bugs that make kdev-php difficult
to use with common PHP frameworks.
- Properly resolve namespaced identifiers for type information in the phpdoc block
- Default type for class properties without assigned value is now NULL instead of 'mixed' (if no other type is specified in the phpdoc block)
- The NULL type is replaced on first assignment to the property.
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
classes
REVISION DETAIL
https://phabricator.kde.org/D14876
AFFECTED FILES
duchain/builders/declarationbuilder.cpp
duchain/builders/typebuilder.cpp
duchain/expressionvisitor.cpp
duchain/tests/duchain.cpp
duchain/tests/duchain.h
To: pprkut
Cc: kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180816/3eea2f2e/attachment-0001.html>
More information about the KDevelop-devel
mailing list