phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Introduce ForbiddenClassNameExtension for append additional forbidden…

Open kamil-zacek opened this issue 1 year ago • 2 comments
trafficstars

… class prefixes

kamil-zacek avatar Mar 19 '24 12:03 kamil-zacek

Could you give us an idea what your use-case is?

Is it php-scoper related or something completely different?

staabm avatar Mar 19 '24 12:03 staabm

@staabm This was discussed outside of GitHub. The idea is that you want to report usages of classes that you're not supposed to use in application. For example: Generated Doctrine proxies from their configured namespace.

ondrejmirtes avatar Mar 19 '24 12:03 ondrejmirtes

This pull request has been marked as ready for review.

phpstan-bot avatar Mar 19 '24 16:03 phpstan-bot

Perfect, thank you!

ondrejmirtes avatar Mar 20 '24 08:03 ondrejmirtes