We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7feb7 commit 5046b9dCopy full SHA for 5046b9d
testing/run_cs_check.sh
@@ -19,7 +19,7 @@ PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.."
19
DIR="${1:-$PROJECT_ROOT}"
20
21
# we run the script from PROJECT_ROOT
22
-cd $PROJECT_ROOT
+cd "$PROJECT_ROOT"
23
24
# install local version of php-cs-fixer 3.0 from composer.json
25
composer -q install -d testing/
@@ -30,4 +30,4 @@ if [ -f "testing/vendor/bin/php-cs-fixer" ]; then
30
PHP_CS_FIXER="testing/vendor/bin/php-cs-fixer"
31
fi
32
33
-$PHP_CS_FIXER fix --dry-run --diff --config="${PROJECT_ROOT}/.php-cs-fixer.dist.php" --path-mode=intersection $DIR
+$PHP_CS_FIXER fix --dry-run --diff --config="${PROJECT_ROOT}/.php-cs-fixer.dist.php" --path-mode=intersection "$DIR"
0 commit comments