forked from GNUsocial/gnu-social
9 lines
370 B
Bash
Executable File
9 lines
370 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. bin/translate_container_name.sh
|
|
|
|
if [ $# -eq 1 ]; then
|
|
docker exec -it "$(translate_container_name tooling_php_1)" /var/www/social/vendor/bin/php-cs-fixer --ansi -n --config=".php-cs-fixer.php" fix $1
|
|
else
|
|
docker exec -it "$(translate_container_name tooling_php_1)" /var/www/social/vendor/bin/php-cs-fixer -n --ansi --config=".php-cs-fixer.php" fix
|
|
fi |