Instant Upgrades and Instant Refactorings for PHP Applications. Why do it manually? #rectorphp Created by @votrubaT
PHP Community
Joined December 2018
- Tweets2.7K
- Following3
- Followers4.4K
- Likes3.3K
Rector retweeted
It seems Rust is handling big projects really really well,
mid-size even better
ECS in PHP: 50 s
ECS in Go: 4 s
ECS in Rust: 0.8 s 😱
Rector@rectorphp
Sep 19Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Replying to @DaronSpence
Thanks 👌
Also new contents in the docs, naturally order with focus on power features 🎉
Rector@rectorphp
Sep 14Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
"Should we rewrite or upgrade?"
That question costs teams years when it's answered by guessing.
We've reviewed hundreds of PHP codebases. We'll tell you which one your app actually needs - and in what order - in 2 weeks.
getrector.com/codebase-audit
Rector@rectorphp
Sep 10Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Simpler, clearer, focused on upgrades and delivery.
New getrector.com/ website is here 🥳🥳🥳
Rector@rectorphp
Sep 6Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
We're cooking something...
Rector@rectorphp
Aug 16Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
2026 will be the last year we'll use Rector/PHPStan tooling as part of our private upgrade service.
Golang tooling is so much faster, tolerant to legacy codebases and more precise 🎉
If you're still on an old PHP, let us know. We'll help you grow 🚀
getrector.com/hire-team
Rector@rectorphp
Aug 11Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Funny statistics... everyone goes for vacation over summer and projects tend to hybernate a bit.
Yet we got the most request for upgrade service in July + August than for Q1+Q2 combined.
Maybe summer holidays is the best time to start something we postponed for a while and now, With more clarity, the priority is obvious.
Rector@rectorphp
Aug 3Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Composer-based sets for Symfony and PHPUnit
now first class citizens in @rectorphp 2.6 😍
Rector@rectorphp
Aug 3Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
It's the little details that devs appreciate...
Part of code quality set 😇
Rector@rectorphp
Aug 1Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
We've had one feature for couple of months now,
but only now we're adding it to compser based sets.
It will be blast!
Rector rule bound to exact package and version the feature was released 😎
Zero work for you, flawless upgrade by Rector
Rector@rectorphp
Jul 15Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Interested in such an upgrade?
Hire us: getrector.com/hire-team
I'm slowly noticing how GPT helps to increase quality of my upgrade service.
Before, when client wanted to catch this detail or that detail, that is not part of typical ECS, Rector or PHPStan sets, I struggled with convincing myself to write a new rule to handle it.
To be honest, 2 out 3 I skipped and explained why it "not a good idea at the moment" or "not according to the starndard out there". Basically turning laziness to arguments.
What I do now? I let agent implement it, think of way to integrate it in open-source tool and just do it.
The client is happy, code has much better code quality that fits particular project,
and code-reviews are easier, because what was discussed in comments in days is now automated in CI in 5 mins.
I'm happy as well, because the upgrade service is now 100 % tailored to the particular project and their devs 💙
Rector@rectorphp
Jul 14Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
It's the little details...
already out in PHPUnit Code Quality prepared set!
Rector@rectorphp
Jul 13Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
It's the little details...
Coming to next release.
#phpunit
Rector@rectorphp
Jul 7Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Tiny easter egg...
Use this run Rector on specific type of files fast:
(typically controllers, repositories, commands etc.)
Rector@rectorphp
Jul 6Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
It's the little details...
...like adding closure param type,
if known-type is passed directly bellow ⬇️
Coming up in next release
Rector@rectorphp
Jul 2Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
What is new in Rector 2.5?
@drupal is now first class citizen, with composer based set!
1) Install package
composer require --dev palantirnet/drupal-rector
2) Enable in rector.php config ⬇️
3) Drupal rules are now loaded automatically based on composer.json version 🎉🎉🎉
Read more: getrector.com/documentation/…
Rector@rectorphp
Jun 30Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
It's the little details...
Part of PHP 8.1 upgrade set ⬇️
getrector.com/rule-detail/cl…
Rector@rectorphp
Jun 30Czech Republic
Czech RepublicConnected via WebAccount-level information, not a live location or per-post device.
Replying to @rrutek @iamlucasmichot
Thank you! We'll keep shipping 🫡🫡🫡