php-scoper icon indicating copy to clipboard operation
php-scoper copied to clipboard

Add support for PHPDoc

Open marekdedic opened this issue 3 years ago • 1 comments

Feature Request

It would be great if php-scoper supported PHPDoc prefixing as many linters use those (phan for example)

marekdedic avatar Mar 10 '21 09:03 marekdedic

It would be ideal but I'm also worried about getting into a rabbit hole as soon as you're hitting PHPStan or psalm related doc-blocks. And since the scoped file is not really meant to be analysed. It should still be readable if needed, i.e. it shouldn't be obfuscated, but at least at the moment that's it.

If you feel strongly about this feature though PRs are welcomed

theofidry avatar Apr 12 '21 21:04 theofidry