Skip to content

Commit f91db3b

Browse files
committed
Fix admin/pre-commit
1 parent ed01a7e commit f91db3b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

admin/pre-commit

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ if [ "$FILES" != "" ]; then
2626
# Run on whole codebase to skip on unnecessary filtering
2727
# Run first on app, admin, public
2828
if [ -d /proc/cygdrive ]; then
29-
./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php
29+
./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php
3030
else
31-
php ./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php
31+
php ./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php
3232
fi
3333

3434
if [ $? != 0 ]; then
@@ -38,9 +38,9 @@ if [ "$FILES" != "" ]; then
3838

3939
# Next, run on system, tests, utils, and root PHP files
4040
if [ -d /proc/cygdrive ]; then
41-
./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff
41+
./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff
4242
else
43-
php ./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff
43+
php ./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff
4444
fi
4545

4646
if [ $? != 0 ]; then
@@ -50,9 +50,9 @@ if [ "$FILES" != "" ]; then
5050

5151
# Next, run on user_guide_src/source PHP files
5252
if [ -d /proc/cygdrive ]; then
53-
./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php
53+
./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php
5454
else
55-
php ./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php
55+
php ./utils/vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php
5656
fi
5757

5858
if [ $? != 0 ]; then

0 commit comments

Comments
 (0)