Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 714ea56

Browse files
authored
Updates wpecs basepath
1 parent 85153a1 commit 714ea56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/wpecs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo -e "WP Engine Coding Standards\nVersion 0.1.0\n"
44
SOURCE_DIR=$(readlink "${BASH_SOURCE[0]}")
55
VENDOR_DIR="$(dirname "$(dirname "$SOURCE_DIR" )" )"
66

7-
${VENDOR_DIR}/vendor/bin/phpcs --basepath=. --report-full=report-full.txt --report-source=report-source.txt --report-summary ${@}
7+
${VENDOR_DIR}/vendor/bin/phpcs --basepath=../ --report-full=report-full.txt --report-source=report-source.txt --report-summary ${@}
88

99
if [ "${1}" = "-h" ] || [ "${1}" = "--h" ]
1010
then
@@ -16,4 +16,4 @@ if [ "${1}" = "-h" ] || [ "${1}" = "--h" ]
1616
fi
1717

1818
echo -e "Reports can be found in the target directory as 'report-full.txt' and 'report-source.txt'\n"
19-
echo -e "Try using 'wpecbf' to attempt fix the sniff violations automatically.\n"
19+
echo -e "Try using 'wpecbf' to attempt fix the sniff violations automatically.\n"

0 commit comments

Comments
 (0)