PHP: Yii

.

What does it do?

This will provide formatting for your code in the latest, greatest version of PHP CodeSniffer. Which enables you access to the following PHP coding standards:

  • Yii

The Sources

Docker: https://hub.docker.com/r/willhallonline/yii-phpcs/ GitHub: https://github.com/willhallonline/docker-yii-phpcs

Commands

Commands you can run to use this.

Aliases

Aliases you can use from the Docker DevTools aliases.

phpcs-drupal="docker_alias /app willhallonline/yii-phpcs:alpine phpcs"
phpcbf-drupal="docker_alias /app willhallonline/yii-phpcs:alpine phpcbf"

Container

docker pull willhallonline/yii-phpcs:alpine

OR (if you want based on Debian rather than Alpine)

docker pull willhallonline/yii-phpcs

Find out more