Márk Magyar

Results 35 comments of Márk Magyar

~~Everywhere where you specified `mixed $stream`, you can actually use the `resource` type instead of `mixed`.~~

We are experiencing this exact same issue. Our current workaround is setting the `y` to `0` on transform for both the header and the body so that none of them...

> This has already been fixed, just needs to be released You got any info on whether the fix includes support for `->using(PivotClass::class)`? We've got methods like this one: ```php...

> [@xHeaven](https://github.com/xHeaven), > > The PR made Larastan smarter with regards to the pivot property and class. Your relation should look like: > > /** > * @return BelongsToMany >...

Is this still relevant? I think [this PR](https://github.com/tempestphp/tempest-framework/pull/1191) essentially closes this issue.

`array_find` - https://github.com/rectorphp/rector-src/pull/7009 `array_find_key` - https://github.com/rectorphp/rector-src/pull/7008 `array_any` - https://github.com/rectorphp/rector-src/pull/7010 `array_all` - https://github.com/rectorphp/rector-src/pull/7011 Let me know if you need changes with either.

> Downgrade rule(s) is needed for this so new transformed to php 8.4 `array_` code can be downgraded > > [rectorphp/rector-downgrade-php](https://github.com/rectorphp/rector-downgrade-php?rgh-link-date=2025-06-21T22%3A54%3A13.000Z) I didn't even know this existed - I might...

Nice catch @gharlan, I completely forgot about the existence of iterables. Oh well. Thanks @samsonasik for the quick fix!

> I have reported this issue once before (#933), but @adelf said that he doesn't know how to fix it. I wanted to re-open this issue and ask for it...