From d7a8f011d899a471cc109d106a798a5b8cbc1349 Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 11 Nov 2024 19:35:17 -0500 Subject: [PATCH 1/2] chore: update phpcs.xml from Drupal examples This will lead to many files needing to be recorrected. --- phpcs.xml | 47 +++++------------------------------------------ 1 file changed, 5 insertions(+), 42 deletions(-) diff --git a/phpcs.xml b/phpcs.xml index e23e359b..171f7b3a 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,4 +1,4 @@ - + Axelerant baseline rules for PHP CodeSniffer - - - */bower_components/* - */node_modules/* - - ./assets/vendor/* - . - - - - - - - - settings(\.[a-zA-Z0-9]+)?\.php - - - - - settings(\.[a-zA-Z0-9]+)?\.php - - - settings(\.[a-zA-Z0-9]+)?\.php - - - settings(\.[a-zA-Z0-9]+)?\.php - - - settings(\.[a-zA-Z0-9]+)?\.php - - + + + + @@ -48,7 +21,6 @@ - @@ -342,17 +314,8 @@ - - - - - - - - - From 4d68e5e669a2d7e4c13ca48616c259de769e0cfa Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 11 Nov 2024 19:37:44 -0500 Subject: [PATCH 2/2] fix: phpcs violations --- .../src/EventSubscriber/RavenSubscriber.php | 2 +- .../ct_manager/src/Data/CodeContribution.php | 4 ++-- .../ct_user/src/Plugin/Block/ContribGraph.php | 16 ++++++++-------- .../custom/contribtracker/contribtracker.theme | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/web/modules/custom/contrib_tracker/src/EventSubscriber/RavenSubscriber.php b/web/modules/custom/contrib_tracker/src/EventSubscriber/RavenSubscriber.php index 0fac5810..be2f7437 100644 --- a/web/modules/custom/contrib_tracker/src/EventSubscriber/RavenSubscriber.php +++ b/web/modules/custom/contrib_tracker/src/EventSubscriber/RavenSubscriber.php @@ -1,6 +1,6 @@