Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.79 KB

File metadata and controls

45 lines (38 loc) · 1.79 KB
title Code Quality

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.

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