TomasVotruba / class-leak

Find leaking classes that you never use... and get rid of them.
https://tomasvotruba.com/blog/how-to-avoid-maintaining-classes-you-dont-use
MIT License
75 stars 6 forks source link

Word of advise for Laravel users #4

Closed szepeviktor closed 1 year ago

szepeviktor commented 1 year ago

The Laravel Framework uses classes automatically. One example is listener discovery. https://laravel.com/docs/10.x/events#event-discovery

Could you add a section to README?

szepeviktor commented 1 year ago

Another example: https://laravel.com/docs/10.x/authorization#policy-auto-discovery

TomasVotruba commented 1 year ago

This would make README full of all frameworks :) instead this should be handled internally in our code for the user.

Could you make test fixture and prepare fix?

szepeviktor commented 1 year ago

Could you make test fixture and prepare fix?

No. I do not know how to do that.