beausimensen, to php
@beausimensen@phpc.social avatar

I'm looking for a #rector or php-cs-fixer rule that will enforce Modifier Keywords Order as defined in PER.

I would be fine with a PER-specific solution but happy to configure something generic w/ PER rules.

#php

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 community! A recent code sprint has resulted in 15 new rules for TYPO3 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 #betterreflection to improve performance of #phpstan and #rector 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 #typo3 and #rector for the #OpenSource 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 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 , Linting, Testing mit @phpunit und Tools wie @phpstan oder .

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

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. #phpstan or #rector, I need sponsors like you, to be able to continously contribute to #opensource 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 #symphony framework.

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

It lints things like #JS, #SCSS as well as #PHP (via #Rector and #phpstan), #Composer files and even #TYPO3 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 #rector #php 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
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines