- Issue created by @arti_parmar
- Status changed to Needs review
over 1 year ago 2:05pm 30 May 2023 - Status changed to Fixed
12 months ago 12:18pm 6 December 2023 - Status changed to Fixed
12 months ago 2:14pm 6 December 2023
remove ERROR All functions defined in a module file must be prefixed with the module's name, found "_get_plausible_script" but expected "plausible_tracking__get_plausible_script
Run the command:
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml plausible_tracking/
Fix the following coding standards issues and upload the patch or create an MR with fixes.
FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\plausible_tracking\plausible_tracking.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
85 | ERROR | All functions defined in a module file must be prefixed with the module's name, found "_get_plausible_script" but expected "plausible_tracking__get_plausible_script"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\plausible_tracking\src\Form\PlausibleConfigForm.php
------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------
198 | WARNING | Line exceeds 80 characters; contains 118 characters
208 | WARNING | Line exceeds 80 characters; contains 190 characters
------------------------------------------------------------------------------------------------------
Fixed
1.0
Code