From eb7179aa1ecf31b6e8bd75101e1258f123b79d6c Mon Sep 17 00:00:00 2001 From: Sonny Kieu Date: Mon, 21 Oct 2019 18:00:21 +1100 Subject: [PATCH] Removed the exclusion of docroot from phpcs. On-behalf-of: @salsadigitalauorg --- .env | 2 +- composer.json | 4 ++-- phpcs.xml | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 092eb52..efd220d 100644 --- a/.env +++ b/.env @@ -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 diff --git a/composer.json b/composer.json index 6845c12..6a3b4a4 100644 --- a/composer.json +++ b/composer.json @@ -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" } } diff --git a/phpcs.xml b/phpcs.xml index d1e6956..0c8c88e 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -14,7 +14,13 @@ key "config.platform.php".--> - */docroot/* + */docroot/*\.php + */docroot/core/* + */docroot/libraries/* + */docroot/modules/contrib/* + */docroot/profiles/* + */docroot/themes/contrib/* + */docroot/sites/*/files/* */console/* settings.generated.php */vendor/*