Skip to content

Lift the temporary PHPStan <2.4 bound #145

Backlog

Description

@ogorzalka

pollora/harness 0.1.43 bounds phpstan/phpstan to ^2.1 <2.4 (#144). This bound is temporary.

PHPStan 2.4.0 (2026-12-04) makes Rector 2.8.5 and 2.9.2 stop on array_values(): Argument #1 ($array) must be of type array, null given.

To lift it:

  • use a Rector release that runs with PHPStan 2.4
  • handle the new findings PHPStan 2.4 reports (for example arrayValues.list) in the repositories that run the gates
  • widen the constraint, remove tests/Unit/PhpStanConstraintTest.php, release, and bump the repositories' workflows
  • review the packages and the framework that bound PHPStan themselves

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions