Skip to content

Commit

Permalink
Removed the exclusion of docroot from phpcs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnykt committed Oct 21, 2019
1 parent 8c37b54 commit a68eb67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ INSTALL_NEW_SITE=1
# DRUPAL_REFRESH_SEARCHAPI=1

# Uncomment and add comma-separated list of targets (no spaces).
# PHPCS_TARGETS="src,tests"
PHPCS_TARGETS="docroot/modules/custom,docroot/themes/custom,docroot/sites/default/settings.php,docroot/sites/default/envs"

# Uncomment below if Bay integration is enabled.
# BAY_INTEGRATION_ENABLED=1
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"license": "GPL-2.0-or-later",
"type": "drupal-module",
"require": {
"dpc-sdp/tide_core": "1.2.5"
"dpc-sdp/tide_core": "^1.4.0"
},
"suggest": {
"dpc-sdp/tide_media:1.2.5": "Media and related configuration for Tide Drupal 8 distribution"
"dpc-sdp/tide_media:1.3.2": "Media and related configuration for Tide Drupal 8 distribution"
}
}
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
key "config.platform.php".-->
<config name="testVersion" value="7.1"/>

<exclude-pattern>*/docroot/*</exclude-pattern>
<exclude-pattern>*/docroot/sites/*/files/*</exclude-pattern>
<exclude-pattern>*/console/*</exclude-pattern>
<exclude-pattern>settings.generated.php</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
Expand Down

0 comments on commit a68eb67

Please sign in to comment.