Rector

2.6K posts

Rector banner
Rector

Rector

@rectorphp

Instant Upgrades and Instant Refactorings for PHP Applications. Why do it manually? #rectorphp Created by @votrubaT

PHP Community เข้าร่วม Aralık 2018
2 กำลังติดตาม4.4K ผู้ติดตาม
Rector รีทวีตแล้ว
Tomas Votruba
Tomas Votruba@VotrubaT·
Great time to do annual spring dependency bump 🙏 To bump "all you can with one command", give @rectorphp Jack tool a go: #2-open-up-next-versions" target="_blank" rel="nofollow noopener">github.com/rectorphp/jack… vendor/bin/jack open
Povilas Korop | Laravel Courses Creator & Youtuber@PovilasKorop

Laravel major version is a chance to bump the underlying packages. So in Laravel 13, I noticed these: - PHP min 8.2 to 8.3 - PHPUnit: added v12/13, dropped v10 - Symfony components: ^7.4.0 || ^8.0.0 - Laravel Tinker: v3 vs v2 - Dropped laravel/sail in laravel/laravel skeleton

English
2
2
6
617
Rector รีทวีตแล้ว
Peter Fox
Peter Fox@peterfox·
Want the ability to write Rector rules without all the learning involved. 🦾 Rector Developer skill is my latest bit of fun. I've already used it for Rector Laravel and it's pretty good 😄 This will generate a new rule for you but also knows how to write useful tests.
Peter Fox tweet media
English
4
7
31
1.8K
Rector รีทวีตแล้ว
Punyapal Shah
Punyapal Shah@MrPunyapal·
Just saw @peterfox working on Laravel 13 attribute refactor support for Laravel Rector, so you'll be able to migrate to attributes easily after release. 💪
Punyapal Shah tweet media
English
4
3
44
5.2K
Rector รีทวีตแล้ว
Peter Fox
Peter Fox@peterfox·
Built an agent skill for writing @rectorphp rules. This seems pretty good so far. Writes the rule and tests correctly. Looking forward to trying to do more things like this.
English
2
1
8
626
Rector
Rector@rectorphp·
Now this is cool! Tempest 3 comes with @rectorphp upgrade set out of the box! Nice touch for the devs, who have now zero work with the new version. #breaking-changes-and-automatic-upgrades" target="_blank" rel="nofollow noopener">tempestphp.com/blog/tempest-3…
Rector tweet media
English
0
5
30
2.3K
Rector รีทวีตแล้ว
Tomas Votruba
Tomas Votruba@VotrubaT·
Last week, we've released brand new set for PHPUnit 12.5 upgrade (requires PHP 8.3+) Here is the best of it: getrector.com/blog/upgrade-t… From projects in the wild, it helped reduce 4000 notices to dozens 🚀
Tomas Votruba tweet media
English
0
3
11
1.1K
Rector รีทวีตแล้ว
Caleb White
Caleb White@calebdw·
My FIRST blog post ever just went live on @rectorphp! The new SafeDeclareStrictTypesRector uses @phpstan to analyze your project and adds `declare(strict_types=1)` ONLY to files that are already 100% type-safe. Zero runtime risks! Automated, progressive adoption! Real-world project: ~1,500 files made strict, ZERO breaks! If your project is still avoiding strict types, give this a shot TODAY and let Rector safely harden your codebase incrementally. 💪 What do you think? Should I write more articles like this (maybe even try X Articles)? 🤔 getrector.com/blog/introduci…
English
1
6
27
10.6K
Rector รีทวีตแล้ว
Tomas Votruba
Tomas Votruba@VotrubaT·
From other news... PHPUnit 13 is out today 😅 phpunit.de/announcements/… Finally with reasonable replacement for year-deprecated ->withConsecutive() 🥳 It requires PHP 8.4, so you still have to upgrade PHP first.
English
1
7
36
1.5K
Rector รีทวีตแล้ว
Tomas Votruba
Tomas Votruba@VotrubaT·
Rector Jack having my back 😎 If you're not using this one CI, your project slowly moves to legacy Gordic knot one dependency at time.
Tomas Votruba tweet media
English
0
1
7
897
Rector รีทวีตแล้ว
Jayveersinh Chavda
Jayveersinh Chavda@JaiveerChavda·
"Life is too short for manual upgrades, just use @rectorphp and automate it 😄 ." Thanks @MrPunyapal & @VotrubaT for this awesome 🔥T-shirt.
Jayveersinh Chavda tweet media
English
2
3
16
846