Skip to content

Latest commit

History

History
81 lines (57 loc) 路 1.49 KB

CONTRIBUTING.md

File metadata and controls

81 lines (57 loc) 路 1.49 KB

Contributing

Thanks for considering contributing to this project! Each contribution is highly appreciated. In order to maintain a high code quality, please follow all steps below.

Requirements

  • PHP >= 8.1

Preparation

# Clone repository
git clone https://github.com/eliashaeussler/typo3-codeception-helper.git
cd typo3-codeception-helper

# Install dependencies
composer install

Run linters

# All linters
composer lint

# Specific linters
composer lint:composer
composer lint:editorconfig
composer lint:php

# Fix all CGL issues
composer fix

# Fix specific CGL issues
composer fix:composer
composer fix:editorconfig
composer fix:php

Run static code analysis

# All static code analyzers
composer sca

# Specific static code analyzers
composer sca:php

Run tests

# All tests
composer test

# All tests with code coverage
composer test:coverage

Test reports

Code coverage reports are written to .build/coverage. You can open the last HTML report like follows:

open .build/coverage/html/index.html

Submit a pull request

Once you have finished your work, please submit a pull request and describe what you've done. Ideally, your PR references an issue describing the problem you're trying to solve.

All described code quality tools are automatically executed on each pull request for all currently supported PHP versions. Take a look at the appropriate workflows to get a detailed overview.