This project uses the PSR-2 coding style.
To ease compliance to the coding standards, the Grunt task runner is employed.
npm install
composer install
grunt cs
code style checkinggrunt lint
syntax checking (linting)grunt
runs the default grunt task: both linting and code style checking
To prevent having to reconfigure your editor (line breaks, indenting) while switching between projects, Editorconfig is used.
API documentation can optionally be generated locally in HTML format. Note: this
also uses Grunt. Documentation is placed in the docs
folder.
grunt doc
xdg-open docs/index.html