Proposed resolution

  • Raise the PHPStan level incrementally and fix the reported issues.
  • Add missing scalar and array shape types to untyped parameters.
  • Shrink and eventually delete the baseline file.

Remaining tasks

Work through the error list level by level.

User interface changes

None.

API changes

Stricter parameter types on helper methods.

Issue fork myrest-3616429

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergeydruua created an issue. See original summary.

  • sergeydruua committed cb218221 on 1.0.x
    Issue #3616429: Add a PHPStan configuration at level 1 and fix what it...
sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)