FILE: /var/www/html/tch/modules/contrib/media_entity_link/src/Form/LinkMediaLibraryAddForm.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
51 | ERROR | [x] Comment indentation error after @todo element,
| | expected 3 spaces
65 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken into
| | its own line
70 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken into
| | its own line
140 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken into
| | its own line
185 | ERROR | [x] Comment indentation error after @todo element,
| | expected 3 spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /var/www/html/tch/modules/contrib/media_entity_link/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 171 characters
24 | WARNING | Line exceeds 80 characters; contains 96 characters
32 | WARNING | Line exceeds 80 characters; contains 92 characters
----------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpcs-code-standard-fix-3318991-2.patch | 6.44 KB | ushma |
Issue fork media_entity_link-3318991
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ushma commentedI have fixed phpcs standard issues and providing a patch for the same.
Comment #3
ushma commentedComment #4
dishabhadra commentedComment #5
dishabhadra commentedUshma, thank you for the patch. I've successfully applied it and incorporated it into both the 1.0.x and 2.0.x branches, ensuring a Drupal 8 and Drupal 10 compatible release of the module.