joachim, to random
@joachim@drupal.community avatar

New blog post: code with - http://www.noreiko.com/blog/refactoring-rector (First blog post in nearly two years!)

wowa_TYPO3, to php German
@wowa_TYPO3@techhub.social avatar

🚀 Exciting news from the #TYPO3 community! A recent code sprint has resulted in 15 new rules for TYPO3 #Rector and introduced Fractor, a promising new tool that can handle FlexForm, TypoScript, and more. Check it out! 🌟
https://typo3.org/article/typo3-rector-on-the-move

rolfdenhartog, to Laravel Dutch
@rolfdenhartog@phpc.social avatar

I was asked to upgrade/update an old (5.3) project to the latest version of laravel and . I’ve already seen the code and let’s say it’s going to be interesting. A lot of customizations 😱 Not calling parent constructors which contain dependencies for example (probably not necessary). And also not even following certain Laravel standards. What did they use of the Laravel framework? Facades and helper functions 😑 (I really don’t like them, just use constructor DI 😉)

tvbeek,
@tvbeek@phpc.social avatar

@rolfdenhartog if I'm correctly there is a rule to transform the facades to DI. That can help you. (I found facades a bad part of the framework)
And maybe Laravel shift can help you.
Good luck upgrade!

markusstaab, to random German
@markusstaab@phpc.social avatar

Worked on reducing overhead of to improve performance of and for projects which register a custom autoloader.

Our legacy projects autoloader which works in a include-path like fashion triggered lots of IO before.

Should be gone in next release

Norore, to php French
@Norore@social.zdx.fr avatar
lolli, to random
@lolli@norden.social avatar

Looking for a rule to change @test@norden.social annotation to #[Test] attribute. Could only find something for '@dataProvider' and '@testWith`. Any pointers?

maddy2101,
@maddy2101@fosstodon.org avatar

@lolli if there is none to be found, make sure to create an issue in the typo3_rector github. In few weeks time, six dedicated developers meet for the sole purpose to create requested rector rules. Thanks to my employer "PIA | UDG" supporting and for the community we will have time and space to do so.

t3muc, to php German
@t3muc@typo3.social avatar

Am Dienstag, 12. Februar, geht es um 19 Uhr um das Thema #TYPO3 Projektübernahmen und -updates.
@danielsiepmann zeigt uns, wie eine Übernahme gelingt und wie man das Projekt anschließend aktualisiert. Dabei gehts dann auch um Themen wie #CI, Linting, Testing mit @phpunit und Tools wie @phpstan oder #Rector.

➡️ https://www.meetup.com/de-DE/munich-typo3-user-group/events/298927902/

#PHPStan #PHP #Meetup

Modernize Symfony Configs (getrector.com)

Symfony configuration is one of the changes that are difficult to spot until they're removed in the next major version. Then you must Google the "invalid option id error message" and hope for a solution. That doesn't sound like an excellent way to spend your weekend, does it? Symfony actually adds a deprecation message to those...

cybersmog, to php
@cybersmog@phpc.social avatar

More than 20 new rules! 🎉
Rector is such a timesaver during every TYPO3 upgrades!

Big to everybody in the Rector team!

https://github.com/sabbelasichon/typo3-rector/releases/tag/v1.6.0

cybersmog, to php German
@cybersmog@phpc.social avatar

The members of the Association have selected four ideas to be funded in the first quarter of 2024. I'm particularly excited about the upcoming new rules. But also the other ideas to revive the image rendering initiative, improvements to the translation process of pages and content, and better ACLs with predefined users and groups are exciting.
If all these ideas are completed in Q1, it will be a huge step forward for TYPO3!

https://typo3.org/article/members-have-selected-four-ideas-to-be-funded-in-quarter-1-2024

symfonystation, to Symfony
@symfonystation@phpc.social avatar
bildstrich, to php

Hey Peeps,
Ich bin nicht so der Backend / PHP Typ. Wenn ich eine EXT für PHP 7.4 habe und die aber mit PHP 8 nutzen will - kann ich dafür nicht dieses nutzen?
Klappt das?

markusstaab, to opensource German
@markusstaab@phpc.social avatar

thanks @getsentry for sponsoring my open source efforts.

since I am not on the payroll of e.g. or , I need sponsors like you, to be able to continously contribute to project

markusstaab, to random German
@markusstaab@phpc.social avatar

opens PRs for our home-grown framework; automatically is running necessary code-migration steps in .

home-grown continous deployment is picking up the changes; creates a isolated testing instance.

static analysis and testing helps along the way

mikestreety, to programming
@mikestreety@hachyderm.io avatar

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.

markusstaab, (edited ) to php German
@markusstaab@phpc.social avatar

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

https://github.com/rectorphp/rector-src/pull/4804

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

markusstaab, to php German
@markusstaab@phpc.social avatar

squeezed a bit more performance out of .. 15% faster now

https://github.com/rectorphp/rector-src/pull/4603

markusstaab, to php German
@markusstaab@phpc.social avatar

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

https://staabm.github.io/2023/07/23/rector-in-legacy-projects.html

markusstaab, to php German
@markusstaab@phpc.social avatar

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

https://github.com/rectorphp/rector/issues/8077

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

https://github.com/rectorphp/rector-src/pull/4565

markusstaab, to random German
@markusstaab@phpc.social avatar

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 💕

https://github.com/sponsors/staabm

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • tacticalgear
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • vwfavf
  • everett
  • kavyap
  • megavids
  • osvaldo12
  • modclub
  • GTA5RPClips
  • ethstaker
  • InstantRegret
  • cisconetworking
  • cubers
  • ngwrru68w68
  • tester
  • normalnudes
  • Leos
  • anitta
  • JUstTest
  • All magazines