]> git.openstreetmap.org Git - nominatim.git/blobdiff - CONTRIBUTING.md
update leaflet CSS file as well. Fixes delayed layer animation
[nominatim.git] / CONTRIBUTING.md
index 68355663373496b681669903ed40459b8f941872..276137f6d9c9b0c8ace6ac8832f42460a46b8d6d 100644 (file)
@@ -27,20 +27,22 @@ are in process of consolodating the style. The following rules apply:
    * leave out space between a function name and bracket
      but add one between control statement(if, while, etc.) and bracket
 
-This coding style must be applied to any new or changed code. You are also
-welcome to fix the coding style of existing code but please submit separate
-PRs for this.
+The coding style is enforced with PHPCS and can be tested with:
+
+```
+  phpcs --report-width=120 --colors */**.php
+```
 
 ## Testing
 
 Before submitting a pull request make sure that the following tests pass:
 
 ```
-  cd tests
-  NOMINATIM_DIR=<builddir> lettuce -t -Fail -t -Tiger features/db features/osm2pgsql
+  cd test/bdd
+  behave -DBUILDDIR=<builddir> db osm2pgsql
 ```
 
 ```
-  cd test-php
+  cd test/php
   phpunit ./
 ```