Problem/Motivation
$ phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml full_screen_mode
FILE: ...rs\abc\Downloads\full_screen_mode\src\Plugin\Block\FullScreenModeBlock.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
--------------------------------------------------------------------------------
149 | WARNING | #description values usually have to run through t() for
| | translation
164 | WARNING | #description values usually have to run through t() for
| | translation
174 | WARNING | #description values usually have to run through t() for
| | translation
181 | WARNING | #description values usually have to run through t() for
| | translation
192 | WARNING | Unused variable $full_screen_mode_data_config.
193 | WARNING | Unused variable $current_full_screen_mode_image_ids.
194 | WARNING | Unused variable $current_header_image_ids.
195 | WARNING | Unused variable $items.
--------------------------------------------------------------------------------
Time: 1.64 secs; Memory: 8MB
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | full_screen_mode_phpcs_result.png | 20.06 KB | silvi.addweb |
| #8 | full_screen_mode-applied_patch.png | 69.87 KB | silvi.addweb |
| #3 | full_screen_mode_issue-3383645.patch | 18.67 KB | chetan 11 |
Issue fork full_screen_mode-3383645
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
chetan 11 commentedComment #3
chetan 11 commentedHi @Priya_Degwekar
I have fixed Drupal Coding Standard As Per phpcs --standard=Drupal.
Attached the patch for the same. Please review it.
Comment #4
priya_degwekar commentedComment #5
chetan 11 commentedComment #8
silvi.addweb commentedI've tested the #3 patch and raised MR for the same.
Comment #9
sujan shrestha commentedThe issues related to the ‘Drupal coding standard as per phpcs --standard=Drupal’ issue has also been fixed. Thank you all for your valuable feedback.