Chatbots are awesome to fix issues in code. I just reviewed a PR made with a Cha...
Alerta! Alerta! @heiglandreas@phpc.social
Chatbots are awesome to fix issues in code.
I just reviewed a PR made with a Chatbot that fixes an issue. 29 commits, 1400+lines of code added, and luckily also 50 lines removed (or 1350 lines added and 50 lines modified?).
While reviewing it something struck me as odd.
I dug a bit deeper and tested something.
Turned out: The issue can be fixed with 6 lines of code. Add 49 for some tests. And then another 3 or so to make PHPSTan happy....
Yes! Chatbots are awesome!