+61K - I added a few JS files that were previously sourced from a CDN to be hosted locally.
557 files changed - Ran RectorPHP on the codebase, which altered almost all files.
+61K - I added a few JS files that were previously sourced from a CDN to be hosted locally.
557 files changed - Ran RectorPHP on the codebase, which altered almost all files.
I said "RectorPHP is an elevator of refactoring PHP code" and it makes a lot of sense. 🤌
Watch: www.youtube.com/live/N73Smm8...
I said "RectorPHP is an elevator of refactoring PHP code" and it makes a lot of sense. 🤌
Watch: www.youtube.com/live/N73Smm8...
"Refactor Laravel with RectorPHP" 💪
Watch: youtube.com/live/N73Smm8...
"Refactor Laravel with RectorPHP" 💪
Watch: youtube.com/live/N73Smm8...
github.com/rectorphp/re...
github.com/rectorphp/re...
And today I just discovered that @rectorphp has a rule for the same thing we talked about 💪
And today I just discovered that @rectorphp has a rule for the same thing we talked about 💪
github.com/rectorphp/re...
github.com/rectorphp/re...
🔗 [Link 👇]
🔗 [Link 👇]
Video's here: youtube.com/watch?v=ldpN...
Let me know what you think!
Video's here: youtube.com/watch?v=ldpN...
Let me know what you think!
I'll be speaking on "Refactor Laravel with RectorPHP" at the Laravel Moris Meetup! 😊
I'll be speaking on "Refactor Laravel with RectorPHP" at the Laravel Moris Meetup! 😊
Link in comments 👇
Link in comments 👇
Use RectorPHP to first concert date() to Carbon and than use RectorLaravel to convert Carbon into Date class 😅
If you are fan of using immutable carbon object Date is better than Carbon 🫡
Use RectorPHP to first concert date() to Carbon and than use RectorLaravel to convert Carbon into Date class 😅
If you are fan of using immutable carbon object Date is better than Carbon 🫡
Rector Pest is set of RectorPHP rules for Pest testing framework 🙌
github.com/MrPunyapal/r...
Rector Pest is set of RectorPHP rules for Pest testing framework 🙌
github.com/MrPunyapal/r...
github.com/rectorphp/re...
github.com/rectorphp/re...
⭐ 8,970 (+29)
🗒 PHP
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
A few days ago, I shared why you should use the dispatch() helper instead of ::dispatch().
Now, with Laravel Rector, you can automate this refactor!
Just add DispatchToHelperFunctionsRector to your RectorPHP config, and your code will stay clean & consistent! 🔥
A few days ago, I shared why you should use the dispatch() helper instead of ::dispatch().
Now, with Laravel Rector, you can automate this refactor!
Just add DispatchToHelperFunctionsRector to your RectorPHP config, and your code will stay clean & consistent! 🔥
It's not so basic though. 😁
It is using Tailwind v4 and plain Blade. It features PHPStan level 10, Pint, RectorPHP with custom config, 100% type coverage, 100% test coverage, and Arch tests with PestPHP. 🫡
It's not so basic though. 😁
It is using Tailwind v4 and plain Blade. It features PHPStan level 10, Pint, RectorPHP with custom config, 100% type coverage, 100% test coverage, and Arch tests with PestPHP. 🫡
Swiss knife in pocket of every upgrade architect
🔗 https://github.com/rectorphp/swiss-knife
Swiss knife in pocket of every upgrade architect
🔗 https://github.com/rectorphp/swiss-knife
Static analysis for Behat definitions and context files
🔗 https://github.com/rectorphp/behastan
Static analysis for Behat definitions and context files
🔗 https://github.com/rectorphp/behastan