Markus Staab

Results 670 issues of Markus Staab

PHPUnit 12.x removed support for annotations, ~~therefore we can prevent unneccessary phpdoc parsing, when PHPUnit 12+ is detected~~ see https://phpunit.de/announcements/phpunit-11.html > Metadata > >PHPUnit 10 introduced support for PHP 8...

reduces overhead when doing multiple curl requests per php-request. starting with PHP 8.5 this even allows caching across php-requests. other places which manually invoke `curl_init` can benefit in a similar...

extracts `ComposerPhpVersionParser` to allow re-use of version-string into min/max `PhpVersion` parsing. I think this will be usefull in https://github.com/phpstan/phpstan-phpunit/pull/269 to build `PhpVersion` min/max for versions in PHPUnits `#[RequiresPhp('5.*')]`-attribute.

tests in https://github.com/phpstan/phpstan-deprecation-rules/pull/170

the result of `array_merge` will always contain all `string` keys we see along the way. ~~we can't reason about the values when not all arrays are constant, but we can...

similar to https://github.com/phpstan/build-infection/pull/30 requires https://github.com/phpstan/phpstan-src/pull/4525

closes https://github.com/phpstan/phpstan/issues/13747 --- fixes ~55x "offset might not exist" errors on phpstan-src with `reportPossiblyNonexistentGeneralArrayOffset: true`

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

closes https://github.com/phpstan/phpstan-src/pull/4520

closes https://github.com/phpstan/phpstan/issues/13749 if one of the involved function calls got already narrowed, switching the operands can lead to more precise types.