chore(config): tweak rector function

This commit is contained in:
2024-09-17 00:14:46 +03:00
parent 4b1ab2e1b8
commit 248eca1ae6

View File

@@ -147,7 +147,7 @@ rector()
{ {
local php="${1:-82}" local php="${1:-82}"
docker run -v "$(pwd)":/project rector/rector:latest process \ docker run -v "$(pwd)":/project rector/rector:latest process \
"/project/$1" \ "/project/" \
--set "php${php}" \ --set "php${php}" \
--autoload-file /project/vendor/autoload.php --autoload-file /project/vendor/autoload.php
} }