Dorian Villet
Dorian Villet
This issue is still a huge PITA, and neither https://github.com/gossi/composer-localdev-plugin nor https://github.com/franzliedke/studio (v0.13 and v0.14-alpha) currently work for me : I spent two days trying to get a proper setup...
If by "special handling", you mean a custom DynamicReturnTypeExtension, then I'm confused, because I've created one too for our `map()` wrapper which extends PHPStan's (cf. code below), which I could...
@rvanvelzen would it be feasible to make that "internal handling" pluggable ? Like being able to define a list of functions (and/or methods?) acting like array_map ?
Hey @rvanvelzen, I just encountered this issue as well, and managed to reproduce it in an as-small-as-possible-yet-fully-functional repository! :tada: https://github.com/gnutix/phpstan-assertsame-unresolvable-type-bug/pull/2/files
@rvanvelzen oh my, good catch... :scream: Adding `null` to the return type removes the inspection indeed. :+1:
That's too bad. I would have enjoyed reinstalling lolcommits, but I mostly work in worktrees now. :(
Very eager to see this one coming out too !
Any chance this PR could get some attention ? Last review was almost 6 months ago.
A comment worth referencing here : https://github.com/brick/date-time/issues/45#issuecomment-1173093592
We've developed a [package](https://github.com/gammadia/date-time-extra/) on top of `brick/date-time` which includes a `LocalDateTimeInterval` object using an exclusive end. We use it quite extensively in our time-management project, and it works like...