Skip to content

Latest commit

 

History

History
32 lines (30 loc) · 873 Bytes

README.md

File metadata and controls

32 lines (30 loc) · 873 Bytes

phpcs

Check Drupal code against coding standards and security standards.

grumphp.yml (with current defaults):

parameters:
    tasks:
        phpcs:
            ignore_patterns: 
                - '/vendor/'
                - '/node_modules/'
                - '/core/'
                - '/libraries/'
            extensions: ['php', 'inc', 'module', 'install', 'theme']
            run_on: ['.']
            standard:
                - 'WunderSecurity'
                - 'WunderDrupal'
            tab_width: ~
            encoding: ~
            sniffs: []
            severity: ~
            error_severity:  ~
            warning_severity: ~
            report: 'full'
            report_width: 120
            exclude: []
            parallel: 20
    extensions:
        - Wunderio\GrumPHP\Task\PhpCompatibilityTask\PhpCompatibilityExtensionLoader