Skip to content

build(deps): upgrade PHPStan to v2.x - #7

Merged
kodyhagen-gh merged 5 commits into
releasefrom
build/upgrade-phpstan-2x
Jun 2, 2026
Merged

build(deps): upgrade PHPStan to v2.x#7
kodyhagen-gh merged 5 commits into
releasefrom
build/upgrade-phpstan-2x

Conversation

@kodyhagen-gh

Copy link
Copy Markdown
Contributor

Summary

  • phpstan/phpstan: ^1.12^2.0 (installed: 2.2.1)
  • szepeviktor/phpstan-wordpress: ^1.3^2.0 (installed: v2.0.3)
  • Package version: 3.3.03.3.1

PHPStan 2.x adds level 10, list types, @phpstan-pure enforcement, and uses 50–70% less memory.

Consumer action required

After merging and running npm ci in bsuwp (or any consuming project), PHPStan 2.x may surface new errors. Regenerate the baseline before committing:

```bash
npm run analyse:php -- --generate-baseline=phpstan-baseline.neon
```

kodyhagen-gh and others added 5 commits May 22, 2026 22:06
- phpstan/phpstan: ^1.12 → ^2.0 (installed: 2.2.1)
- szepeviktor/phpstan-wordpress: ^1.3 → ^2.0 (installed: v2.0.3)
- package version: 3.3.0 → 3.3.1
@kodyhagen-gh
kodyhagen-gh changed the base branch from main to release June 2, 2026 00:24
@kodyhagen-gh
kodyhagen-gh merged commit 3109548 into release Jun 2, 2026
4 of 7 checks passed
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