From 8b6489c60e4def399d4205d2a3a07f364fcab9ac Mon Sep 17 00:00:00 2001 From: David Hummel <6109326+hummeltech@users.noreply.github.com> Date: Thu, 12 Aug 2021 13:34:18 -0700 Subject: [PATCH] Fix old paths for `phpcs` when using `make test` These paths no longer exist since db3ced17bbfff00411f506d8c84419c875959d5e, they are now all located under `lib-php` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 976f0698..0b2d7b11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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." ) -- 2.39.5