Problem/Motivation
Drupal Coding standards should be fixed.
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .
FILE: .../web/modules/custom/date_filter/src/Plugin/views/filter/DateBase.php
------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------
24 | ERROR | Missing @var tag in member variable comment
29 | ERROR | Missing @var tag in member variable comment
34 | ERROR | Missing @var tag in member variable comment
------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/date_filter/Readme.md
---------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 88 characters
4 | WARNING | Line exceeds 80 characters; contains 94 characters
---------------------------------------------------------------------------
FILE: .../web/modules/custom/date_filter/tests/src/Functional/DateFilterTest.php
---------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------
43 | ERROR | Missing @var tag in member variable comment
---------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/date_filter/tests/src/Kernel/DateFilterTest.php
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
74 | ERROR | Missing @var tag in member variable comment
79 | ERROR | Missing @var tag in member variable comment
-----------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/date_filter/tests/date_filter_test/date_filter_test.info.yml
------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------
Steps to reproduce
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork date_filter-3472618
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
alyaj2a commentedComment #4
alyaj2a commentedComment #5
alyaj2a commentedComment #6
cleavinjosh commentedHi @alyaj2a,
Thank you for providing an MR. I applied MR!15, it was applied smoothly and fixed most of the phpcs issues.
These is the remaining issue after I ran
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig:Thank you.
Comment #7
akshaydalvi212 commentedI will remove the remaining issue.
Comment #8
akshaydalvi212 commentedhi @cleavinjosh,
Resolved the last issue, you can review the MR now.
Thanks and regards.
Comment #9
cleavinjosh commentedHi @akshaydalvi212,
Thank you for providing updating the MR. I applied MR!15, it was applied smoothly and fixed all the phpcs issues.
Thank you.
Comment #12
graber commentedTY all!
Comment #13
alyaj2a commentedThanks!