idea-php-typo3-plugin icon indicating copy to clipboard operation
idea-php-typo3-plugin copied to clipboard

"Add autoloading information" QuickFix for ext_emconf.php / composer.json ?

Open cedricziel opened this issue 6 years ago • 4 comments

cedricziel avatar Nov 08 '17 18:11 cedricziel

Would you mind to describe the problem/feature?

IchHabRecht avatar Apr 30 '18 16:04 IchHabRecht

No problem here-I thought it would be nice to add the ability to the plugin to add autoloading information to ext_emconf files - this could be as easy as scanning the Classes folder and then proposing to add the value of __NAMESPACE__ to ext_emconf.

cedricziel avatar May 01 '18 18:05 cedricziel

Maybe add support for composer.json as well (if available) and only offer ext_emconf autoload if composer.json is missing. There is no need to add autoload information to both files.

IchHabRecht avatar May 08 '18 12:05 IchHabRecht

We tend to embed smaller extensions per customer into the type project package and thus don't need composer manifests (as of today) - I would tend to implementing both - thank you for the input!

cedricziel avatar May 08 '18 12:05 cedricziel