Skip to content

Conversation

@juampi92
Copy link
Owner

Description

This PR adds a new command:

php artisan pheck:warnings {file*} --format=github

Given a list of files, it will warn if these files have baselined errors.

Purpose

The main motivation for this feature was to run it in CI after a Pull Request, with the list of changed files.

When a developer modifies a file that has ignored errors, they will get a warning, as a sort of invitation to fix it: "now that you're touching this file, why don't you also fix it"?

This feature is completely optional.

@juampi92 juampi92 changed the title Feat/warning baseline feat: warning baseline Feb 11, 2025
+ Better description
+ no baseline test
@juampi92 juampi92 merged commit e20a88f into main Feb 12, 2025
9 checks passed
@juampi92 juampi92 deleted the feat/warning-baseline branch February 12, 2025 15:19
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.

2 participants