Skip to content

feat(phplint): add php_executable option for parallel-lint configuration - #1231

Merged
veewee merged 1 commit into
phpro:v2.xfrom
maarsson-io:feature/phplint-php-executable
Sep 21, 2026
Merged

veewee merged 1 commit into
phpro:v2.xfrom
maarsson-io:feature/phplint-php-executable

Conversation

@maarsson-io

Copy link
Copy Markdown
Contributor
Q A
Branch v2.x
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets -

Description

This PR adds an optional php_executable configuration option to the phplint task.

When configured, the task passes the value to parallel-lint using its native -p option. If omitted, the current behaviour is preserved.

This makes it possible to explicitly select the PHP executable used by parallel-lint, which is useful in environments where the default executable cannot be used reliably (for example, versioned PHP installations such as Laravel Herd).

The change is fully backwards compatible and includes unit tests for the new configuration option.

@maarsson-io

Copy link
Copy Markdown
Contributor Author

The CI failure appears to be unrelated to this change. All other matrix jobs are green, and the failing tests are E2E tests rather than tests related to the PhpLint task. The stack trace also points to a filesystem/Git maintenance issue (maintenance.lock) during the E2E test cleanup rather than the modified code.

@veewee
veewee merged commit bcbb8f3 into phpro:v2.x Sep 21, 2026
89 of 98 checks passed
@veewee

veewee commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR.

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