Updated contributing guidelines: Clarified includes

This commit is contained in:
Igor Scheller 2023-03-31 13:20:36 +02:00 committed by Michael Weimann
parent 3f0a5a5b73
commit 131c6af6a2
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
* Code must pass PHPStan checks (`composer phpstan`) * Code must pass PHPStan checks (`composer phpstan`)
* Order the composer/npm dependencies alphabetically. * Order the composer/npm dependencies alphabetically.
* Do not use code from the [includes](includes) directory anywhere else. * Do not use code from the [includes](includes) directory anywhere else.
* Don't refactor [includes](includes) code just for the sake of change, it is legacy code that must only be replaced.
* Please cover your code by unit tests, our goal is to stay at 100% line coverage. * Please cover your code by unit tests, our goal is to stay at 100% line coverage.
Code under `includes` does not require tests as it's mostly not testable and needs to be rewritten. Code under `includes` does not require tests as it's mostly not testable and needs to be rewritten.
* Do not use vendor prefixes like `-webkit` in styles. * Do not use vendor prefixes like `-webkit` in styles.