Skip to content

Comments

chore: use php phpStan baseline#5274

Open
sreichel wants to merge 1 commit intoOpenMage:mainfrom
sreichel:phpstan-baseline
Open

chore: use php phpStan baseline#5274
sreichel wants to merge 1 commit intoOpenMage:mainfrom
sreichel:phpstan-baseline

Conversation

@sreichel
Copy link
Contributor

@sreichel sreichel added the chore label Feb 20, 2026
Copilot AI review requested due to automatic review settings February 20, 2026 04:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aligns OpenMage’s PHPStan configuration to use PHPStan’s PHP baseline format (instead of the previous NEON baseline references), ensuring CI and local tooling point to the correct baseline file format.

Changes:

  • Update Composer script phpstan:baseline to generate/update .phpstan.dist.baseline.php.
  • Update PHPStan config includes to load .phpstan.dist.baseline.php.
  • Update CI workflow path filters and export-ignore rules to track the PHP baseline file.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

File Description
composer.json Switch phpstan:baseline script to target .phpstan.dist.baseline.php.
.phpstan.dist.neon Update baseline include to .phpstan.dist.baseline.php.
.github/workflows/workflow.yml Update workflow path filters to include .phpstan.dist.baseline.php.
.gitattributes Export-ignore now applies to .phpstan.dist.baseline.php instead of the NEON baseline.

@sonarqubecloud
Copy link

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.

1 participant