Skip to content

A PHP_CodeSniffer image for checking Drupal code compliance.

Notifications You must be signed in to change notification settings

millerrs/docker-phpcs-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

PHP_CodeSniffer for Drupal

A PHP_CodeSniffer image for checking Drupal code compliance.

Usage

docker run -it --rm -v /path/to/code:/app millerrs/phpcs-drupal

Usage in Jenkins Pipeline

stage('Check Drupal Code Compliance') {
    agent {
        docker {
            image 'millerrs/phpcs-drupal'
        }
    }
    steps {
        sh 'phpcs --standard=Drupal,DrupalPractice web/modules/custom'
    }
}

About

A PHP_CodeSniffer image for checking Drupal code compliance.

Resources

Stars

Watchers

Forks

Packages

No packages published