You are here

lint-php.sh in Convert Media Tags to Markup 8

Same filename and directory in other branches
  1. 2.x scripts/lint-php.sh
#!/bin/bash
#
# Lint php files.
#
set -e

docker run --rm -v "$(pwd)"/src:/code dcycle/php-lint:2 \
  --standard=DrupalPractice /code
docker run --rm -v "$(pwd)"/src:/code dcycle/php-lint:2 \
  --standard=Drupal /code

File

scripts/lint-php.sh
View source
  1. #!/bin/bash
  2. #
  3. # Lint php files.
  4. #
  5. set -e
  6. docker run --rm -v "$(pwd)"/src:/code dcycle/php-lint:2 \
  7. --standard=DrupalPractice /code
  8. docker run --rm -v "$(pwd)"/src:/code dcycle/php-lint:2 \
  9. --standard=Drupal /code