Markus Staab

Results 670 issues of Markus Staab

when I run `vendor/bin/phpunit --coverage-html coverage_report` phpunit is running and happily is working thru the test-suite, while after waiting for minutes for its completion it reports: ``` There was 1...

type/enhancement
feature/test-runner
feature/code-coverage

wdyt about running the test-suite of a few popular repositories in phpunit CI, so we can more easily which impact a given pull request has on them? e.g. running the...

type/enhancement
type/build-automation

Version: 3.3.4 ### Bug Description when putting a invalid utf8 character into a neon file we get a "Invalid UTF-8 sequence" when loading said file back ### Steps To Reproduce...

just switching the order of early return conditions, so that simple bool comparisons are done first

see discussion at https://www.reddit.com/r/PHP/comments/1htastk/comment/m5byiel/ with PHP 8.3

in https://github.com/staabm/phpstan-dba/pull/716 I reworked the reflection cache so it no longer depends on PHPStan `Type->__set_state` to be compatible with PHPStan 2.x the hacked implementation represents the resultset types with phpdoc...

as discussed in https://github.com/phpstan/phpstan/discussions/13189#discussioncomment-13584928

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

refs https://github.com/phpstan/phpstan-src/pull/3933#discussion_r2041162189

this test demonstrates how PHPStan analyzes code differently than it would happen at runtime. --- runtime: run `php real-world.php` you see the program runs, without the custom autoloader of `e2e/bug-12972b/autoloader.php`...