Goblin Injection: A Novel Way Of Testing Static Services In PHP 🧌
Jun 5, 2023 · 9 min read · If you have ever worked with (legacy) PHP codebases then you might have come across (service) classes filled without state and filled with static functions. While this pattern allows you to easily use any service method from any place, it is generall...
Join discussion
