Running lints in GitLab

In GitLab CI you should use composer scripts.

Composer scripts

You can run your lints using composer scripts. An example workflow is defined in .gitlab-ci.yml.