Contribute

Target group: Developers

If you want contribute to this extension you're welcome to do so.

Here are some hints to get you started.

Code

Please use the repository at github (https://github.com/mmunz/c1_adaptive_images) for issues and pull requests.

Linting and code checks

Please make sure your code passes all linting and code checks before opening an pull request.

To run all checks:

composer ci:static

This will lint PHP with php-cs-fixer, run PHPStan and typoscript-linter.

php-cs-fixer

Lint PHP using

composer php:lint

To automatically fix the PHP code:

composer php:fix

Execute the tests

The are some unit and acceptance tests in the Tests folder.

Please run the tests (see Tests) and make sure they all pass before committing or opening a pull request.

Help with the documentation

If you want to make the documentation better: