- Issue created by @sidharth_soman
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 3:28pm 5 July 2023 - ๐ฎ๐ณIndia sidharth_soman Bangalore
All issues fixed. Please review the MR.
- Status changed to Needs work
9 months ago 7:30am 13 February 2024 - ๐ฎ๐ณIndia Ashutosh Ahirwal India
Hi have reviewed the MR its resolving the issue but still there are some errors found.
Moving to need work../vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/gdpr_compliance
FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/gdpr_compliance/gdpr_compliance.module
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\gdpr_compliance\Hook\FormNodeFormAlter.
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/gdpr_compliance/assets/gulpfile.js
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
14 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/gdpr_compliance/src/Form/SettingsFormWarning.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeBundleInfo.
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/gdpr_compliance/src/Controller/PagePolicy.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\HttpFoundation\Request.
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------Time: 264ms; Memory: 12MB
- ๐ฎ๐ณIndia mohd sahzad
Mohd Sahzad โ made their first commit to this issueโs fork.
- Status changed to Needs review
9 months ago 7:42am 13 February 2024 - ๐ฎ๐ณIndia mohd sahzad
Hi @Ashutosh Ahirwal,
i have fixed phpcs issue uisng this ./vendor/bin/phpcs --standard=Drupal,DrupalPractice extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/gdpr_compliance
- Status changed to RTBC
9 months ago 7:00am 14 February 2024 - ๐ต๐ญPhilippines clarkssquared
Hi
I applied MR !3 after commit #5 and I confirmed that there are no PHPCS issues in the module.
โ gdpr_compliance git:(8.x-1.22) curl https://git.drupalcode.org/project/gdpr_compliance/-/merge_requests/3.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6483 0 6483 0 0 10805 0 --:--:-- --:--:-- --:--:-- 10951 patching file 'assets/gulpfile.js' patching file gdpr_compliance.module patching file 'src/Controller/PagePolicy.php' patching file 'src/Form/SettingsFormWarning.php' patching file 'src/Hook/PageBottom.php' patching file 'src/Utility/FormWarning.php' โ gdpr_compliance git:(8.x-1.22) โ .. โ contrib git:(master) โ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml gdpr_compliance โ contrib git:(master) โ