Filter
Exclude
Time range
-
Near
$relations would be ‘receipt’ or ‘statement’, an array of Payment relationships to later load
9
I'm not sure I understand. Wouldn't be more clear to use directly: @param array<int, Payment> $relations
1
18
Smart approach, thanks for sharing 👌
4
that service is actually only for float comparison, so the service has gt, gte, lt, lte… etc comparison methods with default delta so we never compare floats again unsecurely. It’s too late to ban floats completely in this codebase…
1
1
12
/** * @param array<int,string> $relations {@relations-of Payment} * */ It verifies that the $relations argument passed to the function contains only valid Payment (model) relationships for later use with the with() method in the query.
1
39
Thanks for sharing. All great additions, we use implicitly. I'll steal some of them :) What does the last one include? Operation between float and float? E.g. 0.5 * 0.8 would throw an error?
1
24
Tomas Votruba retweeted
Using an agent... ....what custom @rectorphp rule or @phpstan extension/rule have you created, that you would not have the nerves and the time to create manually?
5
2
3
1,156
prevent returning assoc in public/protected methods, only list<something>. Prevent numeric string array keys. Prevent direct datetime construction and use dedicated service instead (for timezone problems). Forbid using some classes. Prevent direct float comp, and use service.
1
1
31
Shipped a ton of rector rules using agents, every single one in this package as well as github.com/SanderMuller/lara… (and both repos have phpstan counterparts too). Did create some phpstan rules by hand pre-AI, though
1
22
👍 Looks good. Just this one?
1
51
I am working on a PHP to Zephir transpiler. The project is using PHPStan rules to check if the PHP code can be transpiled. The Rector rules change the PHP code to make it transpilable. I would have never get the time to do this without a coding agent.
43
wheesnoza retweeted
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
250
André Teles 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,220