mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
note phpcs command in contribution readme
This commit is contained in:
@@ -27,9 +27,11 @@ are in process of consolodating the style. The following rules apply:
|
|||||||
* leave out space between a function name and bracket
|
* leave out space between a function name and bracket
|
||||||
but add one between control statement(if, while, etc.) 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
|
The coding style is enforced with PHPCS and can be tested with:
|
||||||
welcome to fix the coding style of existing code but please submit separate
|
|
||||||
PRs for this.
|
```
|
||||||
|
phpcs --report-width=120 --colors */**.php
|
||||||
|
```
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user