simon-tma
simon-tma
The collector for a test client in functional tests isn't using the argument to map to the actual return type, leading to false positives. ```php $client = static::createClient(); $client->enableProfiler(); $client->request('POST',...
**Is your feature request related to a problem? Please describe.** When processing large images, they can cause PHP to run out of memory as the image file is read in...
### Bug report When running bleeding edge, template-covariance checks are too strict with literal types and the specialised types. I've had: * A value of `0` fail to match as...
- Larastan Version: 2.8.1 - `--level` used: 3 ### Description `Collection->groupBy` accepts a list of fields to group by. If more than one field is passed, it uses the higher-order...
If there is an `exports` key set, Typescript requires the types file to be included in the list of the files exported. Without this change, Typescript errors when trying to...
# Bug report The generic parameter is being used as the return type of the closure, rather than being resolved further ### Code snippet that reproduces the problem https://phpstan.org/r/888dd924-0572-4f7d-b143-7a6aea1a9924 ###...
### Feature request `Closure::bind/bindTo` allow resetting the scope of a closure as well as `$this`. Having a way of providing this information along with `@param-closure-this` (perhaps `@param-closure-scope`?) will allow for...
The core `lazy()` and `lazyById()` methods on an Eloquent builder both support eager-loading of relations. `lazyByCursor()` is not doing any eager loading, causing N+1 query performance issues.
### Bug report When using `@phpstand-assert-if-true` to narrow types it is only applied to first-level properties, preventing it from being used to narrow types in more complicated structures. ### Code...