Skip to content

Commit 7519b1f

Browse files
committed
Use system composer in qlty phpstan prepare_script
Drop the qlty-version-specific composer.phar path in favor of plain `composer`, which qlty's PHP runtime exposes on PATH. Survives qlty bundling a different composer version.
1 parent 3a9c3ca commit 7519b1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.qlty/qlty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ mode = "comment"
9292
# copy_configs_into_tool_install = false: keep phpstan.neon at the project
9393
# root so its relative `path:` rules under ignoreErrors continue to match.
9494
[plugins.definitions.phpstan.drivers.lint]
95-
prepare_script = "~/.qlty/cache/tools/composer/generic-42cc848a9f5e/composer.phar install --no-scripts --ignore-platform-reqs --no-interaction --no-progress"
95+
prepare_script = "composer install --no-scripts --ignore-platform-reqs --no-interaction --no-progress"
9696
autoload_script = "--autoload-file=vendor/autoload.php"
9797
copy_configs_into_tool_install = false
9898

0 commit comments

Comments
 (0)