Contributions are welcome.
test-splitter MUST support all PHP versions that are either in active or security support.
The maintainer will aim to add support for new PHP versions within 6 weeks of the official release.
After writing your code, format it according to the project style:
composer cs-fixPerform all quality assurance tasks that are run for continuous integration:
composer ciDockerfile and docker-compose.yml have been provided to help with development.
Run the following to install dependencies in the PHP version of your choice (e.g. 8.4):
docker compose run --rm php84 composer installYou can run composer scripts in any supported PHP version through Docker:
docker compose run --rm php<version> composer <script> For example, to run cs-fix on PHP 8.2:
docker compose run --rm php82 composer cs-fixTo run all validations in every supported PHP version, you can use the following command:
for v in 81 82 83 84 85; do docker compose run --rm php$v composer ci || break; doneSee composer.json section scripts for all available scripts.
You can get interactive shell access in any PHP version, e.g. on PHP 8.3:
docker compose run --rm php83 bash