Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Add PHPStan to test environment with max level #77

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

clue
Copy link
Member

@clue clue commented Jun 14, 2023

This changeset backports #76 from 4.x to 3.x to add PHPStan on max level to the test environment for all supported PHP versions. Most changes have been applied as-is, but v3 requires a number of workarounds to support legacy PHP and PHPUnit versions.

If this PR is merged, we could backport most of the changes from v3 to v2. The changes are somewhat similar across all versions, but v2 still supports legacy PHP, so we would have to resort to type definitions in docblocks instead of native PHP types. Let's continue this discussion outside of this PR.

Builds on top of #76
See also https://github.com/orgs/reactphp/discussions/469

@clue clue added this to the v3.1.0 milestone Jun 14, 2023
phpstan.neon.dist Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants