GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hussainweb/drupal-code-quality: Docker image containing various QA tools for Drupal

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.stylelintrc.json
.stylelintrc.json
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

drupal-code-quality

Drupal Code Quality is a Docker image designed to aid in static analysis for Drupal code bases. It is based off Adam Culp's PHP Code Quality Docker image. Therefore, all tools present in adamculp/php-code-quality are also present here. See README.md in that package for more details.

From a Drupal perspective, this Docker image adds:

  • drupal/coder
  • drupalsecure sniffs
  • PAReview.sh
  • codespell
  • eslint
  • stylelint

Usage

Run these commands in your repository's root directory. The commands below assume that the Drupal site lives under the docroot directory.

Get to a shell

This is the simplest command to get into a shell with your code mounted under /app.

docker run -it --rm -v "$PWD":/app -w /app hussainweb/drupal-code-quality:latest bash

Run phpcs with Drupal coder sniffs

docker run -it --rm -v "$PWD":/app -w /app hussainweb/drupal-code-quality:latest phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme  docroot/modules/custom/ docroot/themes/custom/

Refer to adamculp/php-code-quality's Usage for more details.

About

Docker image containing various QA tools for Drupal

hub.docker.com/r/hussainweb/drupal-code-quality/

Topics

code-qualitycodespelldockerdocker-imagedrupaldrupal-8pdependphpphp-codesnifferphpcpdphplocphpmdphpmetricsphpqatoolsphpunitstatic-analysisstatic-code-analysis

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.