We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b39ef9 commit 3842a0fCopy full SHA for 3842a0f
src/index.php
@@ -44,7 +44,7 @@ function phpMD($path, $type) {
44
45
$runner->config = new Config();
46
$runner->config->files = [$path];
47
-$runner->config->standards = ["Drupal"];
+$runner->config->standards = ['./vendor/drupal/coder/coder_sniffer/Drupal'];
48
$runner->config->extensions = [
49
'php' => 'PHP',
50
'module' => 'PHP',
@@ -63,7 +63,7 @@ function phpMD($path, $type) {
63
print "phpcs Drupal: " . $faults . "\n";
64
$standards_faults += $faults;
65
66
-$runner->config->standards = ['DrupalPractice'];
+$runner->config->standards = ['./vendor/drupal/coder/coder_sniffer/DrupalPractice'];
67
$faults = $runner->run();
68
print "phpcs DrupalPractice: " . $faults . "\n";
69
0 commit comments