镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Merged
WyriHaximus merged 2 commits into
reactphp:3.xfrom
clue-labs:phpstan-v3
Jun 14, 2023
Merged

WyriHaximus merged 2 commits into
reactphp:3.xfrom
clue-labs:phpstan-v3

Conversation

@clue

@clue clue commented Jun 14, 2023

Copy link
Copy Markdown
Member

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
@clue
clue requested review from SimonFrings and WyriHaximus June 14, 2023 08:03
Comment thread phpstan.neon.dist 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