mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-20 13:55:28 +00:00
chore(config): tweak rector function
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user