As developers, we lose a lot of benefits by testing after the fact. · One of the first roles that I've been working on since I went full-time remote was...
Various guides exist on how to do this in Laravel, but all the ones I found (this and this) worked only up to Laravel 8. The reason is that in v9 the...
You just have to try Rector. Heck, let the tests break, just run it. · I have to say it from the start, the only thing that comes close to safely...
Removing unreachable and redundant code will benefit you massively over time. There's a tool to do this automatically for you. · It's important to take a...
Rector has a catalog of refactorings ready for us to consume and expand upon. · Continuing from the last post, we're now exploring other Rector...
The promise is simple: you install and run the package, you get instant automated upgrades and refactorings. · I recently discovered Rector and was...