Skip to content

Add code-paths input to PHP quality checks - #203

Merged
crispy101 merged 1 commit into
mainfrom
feature/php-quality-checks-code-paths
Nov 11, 2026
Merged

crispy101 merged 1 commit into
mainfrom
feature/php-quality-checks-code-paths

Conversation

@crispy101

Copy link
Copy Markdown
Contributor

Description of the proposed changes
Replace hardcoded src/ app/ paths in the PHPStan and PHPCS fallback commands with an optional code-paths input, defaulting to "src/ app/", for the PR check to be used by the projects that don't have the code under the default path, e.g. https://github.com/aligent/ecobahn-carboncalculator

Screenshots (if applicable)

Other solutions considered (if any)

Notes to PR author

⚠️ Please make sure the changes adhere to the guidelines mentioned in our contribution guide.

Notes to reviewers

ℹ️ When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

Time Tracking

ABC-xxx: code review, select project XXXX

Replace hardcoded src/ app/ paths in the PHPStan and PHPCS fallback
commands with an optional code-paths input, defaulting to "src/ app/".

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

@aaronmedina-dev aaronmedina-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@crispy101
crispy101 merged commit e02619b into main Nov 11, 2026
3 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.

2 participants