Skip to content

ubitransports/coding-standards

Repository files navigation

Coding Standards

This repository is a toolkit including all PHP tools used for local development and the CI.

How to

Add a package

make composer-require args="PACKAGE"

Update packages

All packages

make composer-update

Specific packages

make composer-update args="PACKAGE"

CD

The gitflow must follow the naming in order to have a correct tag creation. The semantic will be updated according to the prefix of the branch:

  • feat/BRANCH_NAME : vx.X.x
  • fix/BRANCH_NAME (or no prefix): vx.x.X

When merging into master branch, the CD is triggered and a new tag is created.

Create your custom PHP CS fixers

A few examples: