]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fix old paths for `phpcs` when using `make test`
authorDavid Hummel <6109326+hummeltech@users.noreply.github.com>
Thu, 12 Aug 2021 20:34:18 +0000 (13:34 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Aug 2021 20:34:18 +0000 (13:34 -0700)
These paths no longer exist since db3ced17bbfff00411f506d8c84419c875959d5e, they are now all located under `lib-php`

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." )