Joined December 2018
339 Photos and videos
Do you have a rule set for your community/package? Consider adding composer-based sets and register them to @rectorphp core That way, these rules are loaded automatically based on composer.json versions @drupal set coming soon... github.com/rectorphp/rector/…
1
1
249
Rector retweeted
Would you merge such a PR without deep review of all ~300 files? We do. Because it's not AI, nor human. It's tokens (T_*, not AI) and AST. 100 % trust, 0 % hallucinations
2
12
1,360
Rector retweeted
I've just realized we didn't have an offical way to sponsor @rectorphp ... Fixed it first task today ⬇️ If you're a company using Rector and saving you time and money, consider giving back to support on-going development🙏 github.com/sponsors/rectorph…
私が所属しているトヨクモで、Thanks OSS Award 2026年度上半期の公開を行いました! 1年間で約1000万円のOSSへの寄付活動を継続して行っています。 今期は特にVite関連の貢献から @sapphi_red さん、 @boshen_c さんへの支援を行いました。VoidZeroはCloudflareによる買収も発表されて現在一番アツい企業だと思います。応援しています! 日本人の方では @k1LoW さんを推薦して採択しています。deckをはじめ、鋭い着眼点で様々なOSSを公開されています! Clojure企業として、Clojureコミュニティから @bhauman さんと seancorfield さんを採択しています。また、Clojurists Togetherというコミュニティ寄付財団への寄付も継続しています。 PHPプロダクトもあるため、PHPコミュニティから @enunomaduro さんと @votrubaT さんを採択しています。 Lalavelへの活動の他、コードのメンテナンスのための自動修正ツールへの貢献に助けられています。 フロントエンドのライブラリからdnd-kitへの活動として @clauderic_d さんを採択しています。 高品質なドラッグアンドドロップライブラリとして複数のチームで利用しています。 モバイルアプリはReactNativeを利用しています。 @reactnavigation に継続して支援を行いました。 社内ツールとしてPythonを使っており、そのツールの基盤となっていたWatchdogへの活動として @__tiger222__ さんを採択しています。 我々の活動ではあまり目を向けられていないけれども、しかし重要な役割を担っているプロジェクトにも特に着目して支援したいと考えています。 OSSコミュニティへの感謝をこのような形で伝えることができ、とても誇りに思います。私もこの活動からトヨクモを知りました。 ぜひぜひソフトウェアエンジニアの応募もお待ちしています。
7
11
2,218
Rector retweeted
Symplify PHPStan rules 14.11.0 just dropped 🎉 2 lines in your phpstan.neon, two new safety nets: * ctor: true # use constructors, not setter soup * mocks: true # spot fragile PHPUnit mocks Bonus: smarter return types for Symfony, Laravel & path functions - now built in. PHP 8.4 ✅ Check the full release with examples ⬇️ github.com/symplify/phpstan-…
1
7
27
1,469
Rector is now on GitHub Sponsors! 🎉 Rector upgrades and refactors PHP, frameworks and keeps technical debt away💙 Work that takes attention and time, done automatically: in CI or CLI, for free If Rector saves your team time, consider sponsoring its development: 👉 github.com/sponsors/rectorph… Your sponsorship keeps it free, open, and actively maintained 💙
3
8
462
Rector retweeted
PHPStan core is just the start. I built a searchable index of 263 community @PHPStan rules from 11 popular packages - each with its class name, what it catches, and wrong/correct examples. Goldmine for tightening your PHP codebase 👇 tomasvotruba.com/phpstan-rul…

7
43
3,255
Rector retweeted
Looking forward to speaking @laravelliveuk about @rectorphp It's a deep dive covering why Rector matters. How it works, and how to create your own custom rules. By the end of the talk you'll be ready to write your first custom Rector! 🎟️ laravellive.uk
5
13
1,177
Rector retweeted
Instead of writing every Symfony/Laravel/... @rectorphp upgrade config manually for every minor version there is, maybe Rector could look into @deprecated / #[Deprecated] and figure out the change itself, right? Would this be useful? WDYT? 🤔
1
2
23
2,385
Rector retweeted
Now important than ever: surface all the hidden mixed types in your code using @phpstan extension, to avoid bugs like: class SomeClass { public function call(array $ids) { } } /** @var mixed $someClass */ $someClass->call(1, 2, 3); Works on any codebase, level 0-8 tomasvotruba.com/blog/not-al…
3
11
1,524
Rector retweeted
I just want to say Abdul is very much a silent but huge part of the PHP community. He's been invaluable for managing Laravel Rector and @rectorphp itself. If you love those tools he's a great person to sponsor.
Thank you @peterfox for sponsoring me 🙏
3
4
744
Rector retweeted
pao v1.1.0 is out bug fixes and @rectorphp support 🤌🏻
4
19
129
11,338
Rector retweeted
260 @phpstan rules live scattered across a dozen Github repos with patchy docs. Nobody finds them. So I built one searchable page: plain-language descriptions code examples for every rule. Find the one you need → automate it in CI 👇 tomasvotruba.com/blog/find-t…
6
15
941
Rector retweeted
#phsptan pro tip for code that is not perfect yet (legacy, huge, growing, not on level 6, with 100 ignores...) If you want to get the most out of PHPStan, without going through 1000 of reported errors of different types, start with one rule at a time. "But how to do that? These levels so huge!" 1. disable the levels using "customRulesetUsed" magic word 2. start with effective rules like CallMethodsRule This yields ~11 errors of one type our codebase (against 150 on level 0) I can fix it now. It brings instant value without stress. It's easy to review, even if you're busy and your codebase has no tests. Do you have more time? Add next rule the same way. How to figure out how particular rule is called? Just ask your favorite GPT :)
1
3
49
3,287
Rector retweeted
These are top 6 features of @symfony 8.1 I'd love to use 😍 🧵 Are you stuck on Symfony 1, 2 or 3...? Let me know. We'll help you upgrade before next Symfony release 🚀
2
6
32
3,277
Rector retweeted
Inspired by these rules, we've added a brand new prepared set to @rectorphp - namedArgs 🎉🎉🎉 github.com/rectorphp/rector-… Release coming soon... Any new rules that would deserve its place in the set? Keep them shipping ⬇️
I've added rules to @rectorphp for this---give them a shot!
2
10
1,395
Rector retweeted
Laravel Rector 2.4.0 just dropped 💪 We've got new contributors joining the project, which is always great to see. Shoutout to @MrPunyapal for pushing the Attributes work forward. I'll have to cover this work in full another day, but it's very impressive. AI often won't be aware of these changes, so if you want to apply them to your codebases, @rectorphp is by far the easiest way to do it consistently and correctly.
2
6
40
3,807
Rector retweeted
Again got chance to contribute to Laravel Rector package 📦 And now you can refactor almost all old ways to new attributes way in Laravel automatically 🙌💪
Laravel Rector 2.4.0 just dropped 💪 We've got new contributors joining the project, which is always great to see. Shoutout to @MrPunyapal for pushing the Attributes work forward. I'll have to cover this work in full another day, but it's very impressive. AI often won't be aware of these changes, so if you want to apply them to your codebases, @rectorphp is by far the easiest way to do it consistently and correctly.
2
11
1,077