[TYPO3-v4] Something for CGL?

Jigal van Hemert jigal at xs4all.nl
Fri Nov 26 09:14:49 CET 2010


Hi,

Modern IDEs have very smart code completion and code inspection routines 
which can help a lot with writing code without simple errors like typos 
in variable names, incorrect parameter order, etc.

Many can use phpdoc comments to use code completion, etc. on objects 
which are created by calling makeInstance().

Could we add a suggestion/rule to add phpdoc @var comments to calls of 
makeInstance()?

Example:
/** @var $install tx_em_Install */
$install = t3lib_div::makeInstance('tx_em_Install');

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-project-v4 mailing list