Closed priyadi closed 6 months ago
Hello, this is too opinionated because traditional apps don't need it.
But you can always implement a custom rule (and even publish it as your own package) 😊
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm proposing this rule: if a class is in the container, then it must either be read-only/immutable, or implement
ResetInterface
.This rule will help to ensure our code is ready for worker mode (Swoole, FrankenPHP, RoadRunner, etc).