Rector (@rectorphp) 's Twitter Profile
Rector

@rectorphp

Instant Upgrades and Instant Refactorings for PHP Applications. Why do it manually?

#rectorphp

Created by @votrubaT

ID: 1079454563105673217

linkhttps://getrector.com/hire-team calendar_today30-12-2018 19:09:57

2,2K Tweet

4,4K Followers

2 Following

Rector (@rectorphp) 's Twitter Profile Photo

Rector 2.1.3 is out now πŸŽ‰πŸŽ‰πŸŽ‰ Huge thanks to Caleb White and Matthias Schmidt, who took our pull-request by storm πŸ˜πŸ‘Œ * early deprecatoin fixes in PHP 8.5 * 30+ fixes in type declaration and dead-code sets * and more... πŸ‘‡ github.com/rectorphp/rect…

Rector 2.1.3 is out now πŸŽ‰πŸŽ‰πŸŽ‰

Huge thanks to <a href="/_calebdw/">Caleb White</a> and Matthias Schmidt, 
who took our pull-request by storm πŸ˜πŸ‘Œ

* early deprecatoin fixes in PHP 8.5
* 30+ fixes in type declaration and dead-code sets
* and more... πŸ‘‡

github.com/rectorphp/rect…
Caleb White (@_calebdw) 's Twitter Profile Photo

I just recently installed and configured Rector after knowing about it for years---I'm kicking myself for not installing it sooner, this would have saved SO much time! This should be a MANDATORY install on any PHP project, stop nitpicking conventions and let the tool

Liam Hammett (@liamhammett) 's Twitter Profile Photo

Tomas Votruba tony-stark.eth (🧱,πŸš€) πŸ¦‡πŸ”Š Rector markus staab | @[email protected] Long overdue that I tried to contribute back to Rector (even though I've built a few in private packages before), but this would've saved me a bit of hassle, so here we go github.com/rectorphp/rect…

Caleb White (@_calebdw) 's Twitter Profile Photo

I finalized all of my classes (using Rector's awesome swiss-knife tool) and I started getting hundreds of PHPStan errors about too-wide return types! So I created a NarrowTooWideReturnType rector to automatically fix all of these (available in the next Rector release)!

I finalized all of my classes (using <a href="/rectorphp/">Rector</a>'s awesome swiss-knife tool) and I started getting hundreds of <a href="/phpstan/">PHPStan</a> errors about too-wide return types!

So I created a NarrowTooWideReturnType rector to automatically fix all of these (available in the next <a href="/rectorphp/">Rector</a> release)!
Keith Davis (@laurindavis) 's Twitter Profile Photo

I'm speaking at Longhorn PHP this year! From PHP 5.3 to PHP 8: Conquering Legacy Code Migration Under Deadline Pressure longhornphp.com/sessions#from-…

Liam Hammett (@liamhammett) 's Twitter Profile Photo

Hey, building Rector rules to automate boring things to give you a better all-round experience is pretty fun 😬 github.com/driftingly/rec…

Geni Jaho (@genijaho) 's Twitter Profile Photo

We recently tagged two new releases of Rector for Laravel πŸš€ A massive thank you to Caleb White and contributors for all the new rules & features πŸ”₯

We recently tagged two new releases of <a href="/rectorphp/">Rector</a> for Laravel πŸš€

A massive thank you to <a href="/_calebdw/">Caleb White</a> and contributors for all the new rules &amp; features πŸ”₯
Tomas Votruba (@votrubat) 's Twitter Profile Photo

If you want to get your codebase in shape, but are lazy and codebase too huge, read these 3 steps: 1. Start substracting before improving It's easier to improve less code, than more code. There is a package that gamifies this process and turns it into fun. Install it, run it

Caleb White (@_calebdw) 's Twitter Profile Photo

Make sure you're not reaching for the PHPStan baseline too early, especially on lower levels! I've slowly worked my way from level 0 to 4 and now almost 5 without using the baseline. Why? Because often times (especially on lower levels) there's core abstractions in your code

Tomas Votruba (@votrubat) 's Twitter Profile Photo

AI and Rector are 2 different tools that solve different problems. Like tests and static analysis. Use both to get best results πŸ˜‡

Abdul Malik Ikhsan (@samsonasik) 's Twitter Profile Photo

TIL: PHPStan can check php version check scope via $scope->getPhpVersion()->getType() I can see that it works on Ternary when working on Rector TODO: verify under If_ or version_compare() if possible, that's another learning prosess :)

TIL: PHPStan can check php version check scope via 

$scope-&gt;getPhpVersion()-&gt;getType()

I can see that it works on Ternary when working on <a href="/rectorphp/">Rector</a> 

TODO: verify under If_ or version_compare() if possible, that's another learning prosess :)