Skip to content

phpstan: Check tests - #24

Open
jtojnar wants to merge 2 commits into
php-http:1.xfrom
jtojnar:phpstan-tests
Open

phpstan: Check tests#24
jtojnar wants to merge 2 commits into
php-http:1.xfrom
jtojnar:phpstan-tests

Conversation

@jtojnar

@jtojnar jtojnar commented Aug 15, 2026

Copy link
Copy Markdown
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets extracted from #21
Documentation -
License MIT

What's in this PR?

Add tests directory to list ouf sources checked by PHPStan.

Why?

This will make it easier to notice discrepancies.

jtojnar added 2 commits July 22, 2026 11:46
We do not ignore any errors.

And it is better to specify it for individual errors with custom explanation for each.
If we introduce baseline, it should only contain universal errors.

https://phpstan.org/user-guide/baseline
This will make it easier to notice discrepancies.

Had to add some ignores to suppress errors from differences between versions.
@jtojnar jtojnar mentioned this pull request Aug 15, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant