NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
"malformed phpdoc comment" error prevent code comp


Joined: 24 May 2010
Posts: 9
Reply with quote
PHP Ed build 5976

I'm trying to use PHP ed to help with development of Joomla components. The code completion is failing to workbook and showing messages like:

malformed phpdoc comment on JFactory::getDocument()
malformed phpdoc comment on JFactory::_createDocument()
malformed phpdoc comment on JDocument::getInstance()

The comments do not seem to be wrong but even if thet are, the better thing for PHPEd to do is show the code completion window and, maybe, highlight the comment problem when the method detail is shown.

However this can't be the whole story. If I remove the JDocument::getInstance comment completely then again the code completion window is not shown. The complaint about the
malformed phpdoc comment on JDocument::getInstance() has gone but is replaced with several additional errors:

Failed to find JObject::getInstance()
Failed to identify type of resulting value returned by JFactory::_createDocument()
Failed to identify type of resulting value returned by JFactory::getDocument()

This is is correct, there is no such method as JObject::getInstance() but method PHPEd thinks is missing should not prevent code completion showing.

Can anyone explain what these messages mean and how I can avoid them?
View user's profileFind all posts by bseddonSend private messageSend e-mail
"malformed phpdoc comment" error prevent code comp
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic