Docker image for PHP Code Standard Fixer
1.1K
Docker image for PHP Code Standard Fixer.
# .gitlab-ci.yml
stages:
- test
job:test:lint:
stage: test
image: ninobysa/php-cs-fixer
script:
- php-cs-fixer fix --dry-run -vvv --diff ./src
docker run --rm -v $(pwd):/app ninobysa/php-cs-fixer fix ./src
In the settings search for "PHP CS Fixer" under "Quality Tools" and add a "configuration" :
ninobysa/php-cs-fixer as "Image name" (you can use a specific version, for example: ninobysa/php-cs-fixer:v3.3.1-php7.4)php-cs-fixer as "PHP CS Fixer path" & you're done!You can find these instructions as a video here.
Content type
Image
Digest
sha256:552532792…
Size
31.5 MB
Last updated
over 4 years ago
docker pull ninobysa/php-cs-fixer