Jan Nedbal

Results 85 comments of Jan Nedbal

How should we understand that removal from 11.3 milestone? Is this not planned anymore?

Just FYI, we have similar rule in our codebase. We have a whitelist of safe objects that can be used without type specified (its `__toString` behaves as we want; this...

Also, there is a risk of mismatch between 3rd and 2nd arg. Just having 3rd arg is not enough, you should use the proper one for certain object. Which we...

> A very simple rule could emit an error if the third parameter is omitted for a non-scalar value. But entity is fine, those should be excluded, right?

Hi, not sure when I would get to it. Anyway, I dont really mind clicking merge once a month. At least I quickly check the release notes and possibly adjust...

I mean something like this: https://github.com/qossmic/deptrac-src/pull/21

I want some usages not to be treated as dependency. We have custom implementation of "friend methods": ```php #[Friend([OnlyAllowed::class, 'caller'])] public function method(): void { } ``` And those references...

"Occurred within an attribute" is not enough, I need to target that specific "Friend" one.

But maybe my usecase is so edgecase it does not need to be supported with an easy way. Hard to guess though..