Skip to content

Commit

Permalink
Moved PHPCS exclusion to the phpcs config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Skrypnyk committed Oct 13, 2022
1 parent 0fda7a9 commit 16963d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"parallel-lint src spec tests",
"phpunit",
"phpspec run -f pretty --no-interaction",
"phpcs --standard=./phpcs-ruleset.xml --ignore=drupal .",
"phpcs --standard=./phpcs-ruleset.xml .",
"./vendor/bin/drupal-check --drupal-root=drupal ./src/Drupal/Driver/Cores/Drupal8.php ./src/Drupal/Driver/Fields/Drupal8",
"cp ./vendor/palantirnet/drupal-rector/rector.php drupal/.",
"cd drupal && ../vendor/bin/rector process ../src/Drupal/Driver/Cores/Drupal8.php --dry-run",
Expand Down
1 change: 1 addition & 0 deletions phpcs-ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/CHANGELOG.md</exclude-pattern>
<exclude-pattern>*/README.md</exclude-pattern>
<exclude-pattern>./drupal/*</exclude-pattern>

</ruleset>

0 comments on commit 16963d8

Please sign in to comment.