feek

Results 37 comments of feek

> Composer container cannot check for installed PHP dependencies, so need to use ignore-platform-reqs In my case, this was the (breaking) con. For example, my project requires the bcmath extension...

@AdrienPoupa I believe `npm install` should be a noop if the `node_modules` is present (which is why I didn't use `npm ci`). I understand your concerns about not necessarily wanting...

wow struggled for so long before realizing that it was codekit messing up my PATCH requests! It would be great if this could be included in the next update

I’d be willing to help implement this if a PR would be welcome. I’ve been reverse engineering a lot of this logic for psalm

@bmewburn I'm interested in what issue you are running into in which you need this option first-party in laravel-ide-helper. In larastan, I wrote a parser that treats `Collection|Model[]` as `Collection`...

@mfn check this out: https://psalm.dev/docs/running_psalm/language_server/ It's pretty neat. ---- Don't mean to derail this thread. I think ide-helper should continue to write the phpstorm syntax, as devs shouldn't be forced...

it's been [announced](https://blog.jetbrains.com/phpstorm/2020/07/phpstan-and-psalm-support-coming-to-phpstorm/) that phpstorm is going to have first party support for array key and value types, so it might be reasonable for us to switch (or at least...

I started prototyping a solution for this involving traversing the AST -- https://github.com/mr-feek/laravel-swagger/commit/8f3bbad0f78d42cd3692a53a421abefe478fc05f

Isn't this what the `autoFetch` key is for? It is defaulted to false, so toggling that to true should do what you are looking for (though I haven't tested).

@canvural can we say it always exists, or do we need to somehow check if `withCount` has been called in the same scope?