phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

Results 408 phpstan-src issues
Sort by recently updated
recently updated
newest added

rebased version of https://github.com/phpstan/phpstan-src/pull/1445 reworked to use `isSuperTypeOf` checks ([feedback](https://github.com/phpstan/phpstan-src/pull/1445#discussion_r901765586) from ondrey). #1445 seemed abandoned therefore I figured I could push it over the finishing line Fixes https://github.com/phpstan/phpstan/issues/7492

closes https://github.com/phpstan/phpstan/issues/7735

closes https://github.com/phpstan/phpstan/issues/7707 functions stubbed: array_diff_uassoc array_diff_ukey array_intersect_uassoc array_intersect_ukey array_udiff_assoc array_udiff_uassoc array_uintersect_assoc array_uintersect_uassoc array_uintersect whilst adding these, phpstan warned because i didn't add array iterable types for the returns so i've...

with https://github.com/phpstan/phpstan-src/pull/1383/files#r887647098 I was running into this bug. the problem is, that phpstan should dump the type `string` but reports `bool|float|int|string` for the `dumpType` call seen here: ``` $ php...

...to allow restricting inheritance hierarchies in userland – but also internally; I've rewritten the current `DateTimeInterface` and enums support into this extension point. Closes phpstan/phpstan#7493

Fix for phpstan/phpstan#7141. This does not actually work yet, but fixing it in an obvious way breaks other tests

Fixes phpstan/phpstan#7492

repro for https://github.com/phpstan/phpstan/issues/7396