]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #2423 from hummeltech/patch-1
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 15 Aug 2021 20:00:50 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Sun, 15 Aug 2021 20:00:50 +0000 (22:00 +0200)
Fix old paths for `phpcs` when using `make test`

CMakeLists.txt

index 976f0698901aed5c9b0d2242ed64e440bbde4dca..0b2d7b11ec291528a62d2b45b518227ac63a7661 100644 (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." )