Mike · @mikestreety
275 followers · 530 posts · Server hachyderm.io

We've had an internal linter for years, which is built on a PHP framework.

You run the linter you want and append `--fix` if you want it to resolve issues (if it can)

It lints things like , as well as (via and ), files and even TypoScript files - all by using the open source libraries available.

It means all our developers can adhere to central linting conventions without having to update local config files.

#symphony #js #scss #php #rector #Phpstan #composer #TYPO3

Last updated 1 year ago

poti · @poti
65 followers · 38 posts · Server social.cologne

Opened the @demoparties repository after six month again. Had to do a lot of updating (supported by ) before concentrating on some nasty bugs...

#rector

Last updated 1 year ago

Greg Korba · @codito
25 followers · 50 posts · Server mas.to

For example, one rule was refactoring local variables' names, so it was reacting to `Assign` node and then accessing parent `ClassLike` node. With new API it has to be done the other way around, which means going top-to-bottom.

#rector

Last updated 1 year ago

Greg Korba · @codito
25 followers · 46 posts · Server mas.to

Today I've been working on upgrading to 0.18 (from 0.17.1, so we were several patch versions behind). I did not have any problems with new DI used under the hood, but I had to tweak some things on our side, so I thought I can share it with you 😊.

Mini-🧵👇

#rector

Last updated 1 year ago

markus staab · @markusstaab
107 followers · 270 posts · Server phpc.social

In the next release AddReturnTypeDeclarationBasedOnParentClassMethodRector will be 10 times faster and uses only 30% of memory

github.com/rectorphp/rector-sr

if you need fast and efficient rector tooling, please consider sponsoring my open source work :-)

#rector #php

Last updated 1 year ago

markus staab · @markusstaab
94 followers · 257 posts · Server phpc.social

I wrote down my experience in adding to existing projects and what todo first.

staabm.github.io/2023/07/23/re

#rector #php #legacy

Last updated 1 year ago

markus staab · @markusstaab
94 followers · 256 posts · Server phpc.social

Yesterday I was investigating slow CI jobs and reported a new issue with the details I could find:

github.com/rectorphp/rector/is

Today I am sending over a pull request which improves rector runtime by 23%, which means 1 minute faster runtime in CI

github.com/rectorphp/rector-sr

#rector #php

Last updated 1 year ago

Ximo Bernà :estelada: :oc: · @ximoberna
1008 followers · 24103 posts · Server mastodont.cat

Veient #324 a @tv3cat@twitter.com .. El abusador del ..

#rector #senegal

Last updated 1 year ago

Edwin van Meerkerk · @EdwinvMeerkerk
162 followers · 92 posts · Server social.edu.nl
markus staab · @markusstaab
61 followers · 184 posts · Server phpc.social

Turns out I am one of the top contributors💫 to , and related tools.

If one of those open source projects is critical for your business, please consider supporting my work with your sponsoring 💕

github.com/sponsors/staabm

#Phpstan #rector

Last updated 2 years ago

Greg Korba · @codito
5 followers · 5 posts · Server mas.to

Don't forget that we have excellent tooling in ecosystem! You're not alone with your upgrades, you can use @PHPCSFixer, , with plugin and probably many other tools. Trust me, it's doable 😁.

Please keep in mind that until @thephpf was created has been under development for free and every change (fix, new feature, improvement) was provided voluntarily. Even with Foundation, a lot of people work on the language and tooling for free.

#phpcompatibility #phpcodesniffer #rector #PHP

Last updated 2 years ago

Geni Jaho · @geni
3 followers · 9 posts · Server phpc.social
Symfony Station :symfony: · @symfonystation
567 followers · 3287 posts · Server phpc.social

Automated PHP Refactoring With Rector via Tighten.
tighten.com/insights/automated :php:

#php #rector

Last updated 2 years ago

Reuben Walker · @mobileatom
40 followers · 359 posts · Server me.dm

Automated PHP Refactoring With Rector via Tighten.
tighten.com/insights/automated :php:

#php #rector

Last updated 2 years ago

Matt Glaman · @mglaman
220 followers · 145 posts · Server phpc.social
Symfony Station :symfony: · @symfonystation
566 followers · 3101 posts · Server phpc.social
Ben Ramsey :elephpant_rainbow: · @ramsey
3020 followers · 5139 posts · Server phpc.social

@len @tim @jrf_nl @wimg If you find one, let me know. I tried , , and some others, and all of them wanted to change much more code than was required just to get to minimum compatibility.

#rector #phan

Last updated 2 years ago

Pieter Hendrikse · @PieterJJ
565 followers · 1113 posts · Server mastodon.nl

@renatevanstigt Bezoek ook café de : toptent ;-)

#rector

Last updated 2 years ago

gplanchat · @gplanchat
27 followers · 8 posts · Server phpc.social

Hey PHP developers
Do you know a Github action using to keep you code up to date?
We already tried zingimmick/rector-action but it does not seem to work anymore and is now archived

#rector

Last updated 2 years ago

Gaël Reyrol · @GaelReyrol
152 followers · 268 posts · Server mamot.fr

I completely freezed my home computer by running a refactoring tool called 😅 It reminds me that my computer is almost 10 year old ! Happy decade buddy 🎉

#php #rector

Last updated 2 years ago