PHP CS-Fixer Container.
https://cs.symfony.com/
- Dockerfile 100%
Relevant doc: https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.jit Default is "tracing" or "on", which is not as aggressive as "function" and has less upfront cost. |
||
|---|---|---|
| conf | ||
| Containerfile | ||
| readme.md | ||
PHP Coding Standards Fixer container image
Container image containing php and PHP Coding Standards Fixer.
Intended image contents
- php
- php-cs-fixer
Run
podman container run \
--rm \
--interactive --tty \
--volume=.:/src \
code.netztechniker.at/ludwig/php-cs-fixer:latest \
fix \
--config /path/to/php-cs-fixer-config.php
# or the short variant
podman run --rm -it -v .:/src code.netztechniker.at/ludwig/php-cs-fixer:latest fix --config /path/to/php-cs-fixer-config.php
Build
PHP_VERSION=x.y \
PHP_CS_FIXER_VERSION=x.y.z \
podman image build . \
--pull \
--build-arg PHP_VERSION=$PHP_VERSION \
--build-arg PHP_CS_FIXER_VERSION=$PHP_CS_FIXER_VERSION \
--tag code.netztechniker.at/ludwig/php-cs-fixer:$PHP_CS_FIXER_VERSION