Other / Code Quality
Note: You are currently reading the documentation for Bolt 5.0. Looking for the documentation for Bolt 5.2 instead?
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.
Dependency Management¶
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.
Code Standard¶
We aim to comply with PSR-12.
Testing¶
We use PHPUnit for unit testing, and Cypress for acceptance and functional testing.
Continuous Integration and Continuous Inspection¶
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
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.