mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
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:
@@ -153,7 +153,7 @@ if (BUILD_TESTS)
|
|||||||
if (PHPCS)
|
if (PHPCS)
|
||||||
message(STATUS "Using phpcs binary ${PHPCS}")
|
message(STATUS "Using phpcs binary ${PHPCS}")
|
||||||
add_test(NAME 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})
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
|
||||||
else()
|
else()
|
||||||
message(WARNING "phpcs not found. PHP linting tests disabled." )
|
message(WARNING "phpcs not found. PHP linting tests disabled." )
|
||||||
|
|||||||
Reference in New Issue
Block a user