From: David Hummel <6109326+hummeltech@users.noreply.github.com> Date: Thu, 12 Aug 2021 20:34:18 +0000 (-0700) Subject: Fix old paths for `phpcs` when using `make test` X-Git-Tag: v4.0.0~43^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/8b6489c60e4def399d4205d2a3a07f364fcab9ac?ds=inline;hp=--cc Fix old paths for `phpcs` when using `make test` These paths no longer exist since db3ced17bbfff00411f506d8c84419c875959d5e, they are now all located under `lib-php` --- 8b6489c60e4def399d4205d2a3a07f364fcab9ac 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." )