Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add cwd to honor project php-cs-fixer #325

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

zerodahero
Copy link
Contributor

This adds the cwd option into the default php-cs-fixer options in order to honor project-level configuration.

composer.json should be the "safest" project root option here, since if a project doesn't have a .php-cs-fixer.dist.php or similar config file, it looks like we may accidentally use a parent config instead of the default config (currently used with these conform settings), which I believe would be different than typical php-cs-fixer behavior (i.e. use project-level config, or default)

@github-actions github-actions bot requested a review from stevearc March 9, 2024 22:32
@stevearc
Copy link
Owner

LGTM thanks!

@stevearc stevearc merged commit f5f8498 into stevearc:master Mar 11, 2024
8 checks passed
@zerodahero zerodahero deleted the add-php-cs-fixer-cwd branch March 19, 2024 16:00
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