| title | Code Quality |
|---|
The larger a project gets, the harder it is to maintain a particular code quality and standard. Every developer has his own coding style and way of doing things. Although there must be enough space to not force people to do their work in the way the author(s) of bolt think it should, it's important to set particular bounds for people to operate within.
The de-facto dependency management tool for GitHub projects is Composer We're not trying to re-invent the wheel, so when possible, we use established and proven libraries to support our development.
We aim to comply with PSR-12.
We use PHPUnit for unit testing, and Cypress for acceptance and functional testing.
For automatically running our unit tests and checking against various PHP versions, we use Github CI. The configuration is located in the .github folder. The code standard, as well as some other helpful tools to get metrics about the codebase are run by Easy Coding Standard. The configuration is located in ecs.php