Automatic Code fixes / Linting in GitLab CI (PHP CS Fixer)

Hi,

i want to use an automatic code formatter / linter to fix code style, for example in PHP using PHP-CS-Fixer:

How would i achieve this so the code is automatically fixed by another automatic commit?