Problem/Motivation
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig /var/www/html/VB/drupal-10.1.0/modules/contrib/pareviewsh-1.0.3
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/pareviewsh-1.0.3/pareviewsh/src/Composer/PareviewshComposerScriptEvents.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------------------
19 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
29 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
39 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
41 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
55 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
57 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/pareviewsh-1.0.3/pareviewsh/src/Composer/PareviewshComposerActions.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 3 WARNINGS AFFECTING 7 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment
19 | ERROR | [x] Doc comment short description must end with a full stop
21 | ERROR | [x] Doc comment long description must end with a full stop
62 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
101 | ERROR | [x] No space found before comment text; expected "// throw new \RuntimeException("Could not install \"codespell\".");" but found "//throw new
| | \RuntimeException("Could not install \"codespell\".");"
101 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
150 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
174 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/pareviewsh-1.0.3/pareviewsh/src/Composer/PareviewshComposerInstallerPlugin.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
-----------------------------------------------------------------------------------------------------------------------------------
14 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
42 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
52 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
62 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
64 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
78 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
80 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------
Steps to reproduce
Run the command
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig /var/www/html/VB/drupal-10.1.0/modules/contrib/pareviewsh-1.0.3
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes