Fix old paths for phpcs when using make test

These paths no longer exist since db3ced17bb, they are now all located under `lib-php`
This commit is contained in:
David Hummel
2021-08-12 13:34:18 -07:00
committed by GitHub
parent bf4f05fff3
commit 8b6489c60e

View File

@@ -153,7 +153,7 @@ if (BUILD_TESTS)
if (PHPCS)
message(STATUS "Using phpcs binary ${PHPCS}")
add_test(NAME phpcs
COMMAND ${PHPCS} --report-width=120 --colors lib website utils
COMMAND ${PHPCS} --report-width=120 --colors lib-php
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
else()
message(WARNING "phpcs not found. PHP linting tests disabled." )