We are testing coding standards with PHP CodeSniffer, using the Drupal coding standards from the Coder module. We need to do a couple of steps in order to download and configure them so we can run a coding standards check.
Problem/Motivation
Complete the implementation of DrupalPractice.CodeAnalysis.VariableAnalysis. There are several excluded patterns in phpcs.xml for this sniff.
Steps to reproduce
Proposed resolution
Remaining tasks
#3477156: Use DrupalPractice.CodeAnalysis.VariableAnalysis on Functional* tests
#3477205: Use DrupalPractice.CodeAnalysis.VariableAnalysis in core/tests
This issue will enable the sniff and fix any remaining errors.
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3348079
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
quietone commentedOne child completed.
Comment #7
quietone commentedChange this to just enabling the sniff
Comment #8
quietone commentedComment #9
borisson_This enables a sniff that is already passing, so this looks good to go to me.
Comment #11
catchCommitted/pushed to 11.x, thanks!