Skip to content

[Task] Dev tooling: PHPStan 2.3.5, module-asserts 3 - #165

Merged
mcop1 merged 2 commits into
2026.xfrom
chore/dev-tooling-2026.4
Nov 4, 2026
Merged

mcop1 merged 2 commits into
2026.xfrom
chore/dev-tooling-2026.4

Conversation

@mcop1

@mcop1 mcop1 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Changes in this pull request

Related: pimcore/internal-improvements#33

Dev dependencies only (require-dev), no runtime change.

  • phpstan/phpstan: 1.12.15 → 2.3.5
  • phpstan/phpstan-symfony: ^1.2.20 → ^2.0
  • codeception/module-asserts: ^2 → ^3.0

Additional info

Verified locally with PHP 8.4 and the highest dependencies, set up like the static-analysis workflow (setup-pimcore-environment.sh, composer update): PHPStan 2.3.5 reports no errors.
module-asserts 3.0 only adds Codeception 5 support; 3.3 needs PHPUnit 11.5 or newer, which the PHPUnit constraint already requires. The Codeception CI legs are the test.

🤖 Generated with Claude Code

Dev dependencies only. Related: pimcore/internal-improvements#33

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@mcop1
mcop1 marked this pull request as ready for review November 4, 2026 14:59
Copilot AI balanced review requested due to automatic review settings November 4, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the development-tooling dependency refresh, although dependency compatibility and CI results were not independently verified.

No open issues 🎉

What changed in this PR

Refreshes the bundle’s development tooling without changing runtime requirements or application code.

Changes:

  • Updates PHPStan from 1.12.15 to 2.3.5 and its Symfony extension to ^2.0 (composer.json:31–32).
  • Updates Codeception’s assertions module from ^2 to ^3.0 (composer.json:36).

Assessment: No actionable findings. The changes directly implement the dependency refresh at the appropriate require-dev boundary. No shared application behavior, call sites, or public APIs are changed, and the diff introduces no observable runtime behavior requiring documentation updates.

Unverified: Dependency compatibility and CI results were not independently verified. Static analysis and the existing Codeception test runs remain the relevant validation; the description’s local success is reported evidence, not confirmation of all supported environments.

File Description
composer.json Updates PHPStan, its Symfony extension, and Codeception assertions development dependencies.

Review effort: Balanced

@mcop1
mcop1 merged commit 4cd47e8 into 2026.x Nov 4, 2026
25 checks passed
@mcop1
mcop1 deleted the chore/dev-tooling-2026.4 branch November 4, 2026 15:04
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants