- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:56am 20 January 2023
Run phpcs against the module code to find the following errors:
FILE: ...ontrib_Envs/Modules/web/modules/contrib/iframe_video/iframe_video.info.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------
7 | WARNING | [ ] All dependencies must be prefixed with the project name, for
| | example "drupal:"
8 | WARNING | [ ] All dependencies must be prefixed with the project name, for
| | example "drupal:"
9 | WARNING | [ ] All dependencies must be prefixed with the project name, for
| | example "drupal:"
9 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...s/web/modules/contrib/iframe_video/src/Plugin/media/Source/IframeVideo.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
20 | ERROR | [x] Additional blank lines found at end of doc comment
24 | ERROR | [x] Missing function doc comment
24 | ERROR | [x] Expected 1 blank line before function; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: .../Contrib_Envs/Modules/web/modules/contrib/iframe_video/iframe_video.module
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
32 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 85ms; Memory: 10MB
Run phpcs
Needs review
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.