Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 798 Bytes

CONTRIBUTING.md

File metadata and controls

13 lines (10 loc) · 798 Bytes

Please adhere to the following code styles/standards:

  • Use enums/backed enums instead of const where ever possible
  • Make sure any code you contribute does not cause warnings with php 8.1 (even if they are surpressed by default, this include depracation warnings)
  • Respect the code style in use in the project (if you use PHPStorm these are included in .idea/codeStyles/Project.xml)

For now tests are not ran automatically on PR so please make sure all tests are passing (run /vendor/bin/phpunit ./tests/ -c ./tests/phpunit.xml)

Coding style:

  • Use Allman for braces
  • Class names and class member names should use CamelCase
  • Constants should be ALL_CAPS with _ for spaces
  • Local variables should be camelCase