Skip to content

Fix passing --parallel option alongside --config#418

Merged
taylorotwell merged 2 commits intolaravel:mainfrom
kkunjas:fix/remove-config-option-from-options-passed-to-phpcsfixer
Jan 30, 2026
Merged

Fix passing --parallel option alongside --config#418
taylorotwell merged 2 commits intolaravel:mainfrom
kkunjas:fix/remove-config-option-from-options-passed-to-phpcsfixer

Conversation

@kkunjas
Copy link
Contributor

@kkunjas kkunjas commented Jan 30, 2026

When using --config option alongside new --parallel option both gets passed to phpcsfixer and phpcsfixer doesn't allow that.

So this change removes config option, after pint has done passing it's own config file (that uses the same --config options as phpcsfixer).

The side effect of this change is that you no longer pass config option to phpcsfixer, but that is of no use anyway.

fixes: #377

@taylorotwell taylorotwell merged commit afc4df8 into laravel:main Jan 30, 2026
8 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.

Parallel mode: "Unable to create runner: Passing both --config and --rules options is not allowed"

2 participants