clearcutcoding / symfony-ci-runner
There is no license information available for the latest version (3.1.0) of this package.
Decide which CI processes to run via a config file
3.1.0
2024-01-23 06:57 UTC
Requires
- php: >=8.3
- friendsofphp/php-cs-fixer: ^3.16
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- rector/rector: ^0.19
- squizlabs/php_codesniffer: ^3.7
- symfony/phpunit-bridge: ^7.0
- symfony/test-pack: ^1.0
- symfony/yaml: ^7.0
- vimeo/psalm: ^5.9
This package is auto-updated.
Last update: 2024-11-17 01:35:27 UTC
README
Installation
composer require clearcutcoding/symfony-ci-runner --dev
Configuration
- Create config in the root of your php project named
ci-runner.config.yaml
- Set which CI processes to run. Some have their own root config file to identify which directories to run against. For others, set the directories here (in brackets it shows possible values).
rector: true [true | false]
phpcsfixer: true [true | false]
lintyaml: config src [list of dirs | false]
linttwig: src [list of dirs | false]
phpcs: true [true | false]
phpunit: true [true | false]
phpmd: src tests [list of dirs | false]
phpstan: true [true | false]
psalm: true [true | false]
The following need to have config files created:
rector -> rector.php
phpcsfixer -> .php-cs-fixer.php
phpcs -> phpcs.xml
phpunit -> phpunit.xml
phpstan -> phpstan.neon
psalm -> psalm.xml
Dev
- Run
vendor/bin/ci-runner
from inside the project root directory
Build
- Run
vendor/bin/ci-runner --no-mods
to ensure no file-changing processes will run.