Problem/Motivation
FILE: /Users/projects/drupal-d10/modules/contrib/image_style_quality/tests/src/Kernel/ImageStyleQualityTest.php
----------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------
25 | ERROR | Missing member variable doc comment
26 | ERROR | Missing member variable doc comment
----------------------------------------------------------------------------------------------------------------------
FILE: /Users/projects/drupal-d10/modules/contrib/image_style_quality/README.txt
---------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------
25 | WARNING | [ ] Line exceeds 80 characters; contains 136 characters
35 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------
FILE: /Users/projects/drupal-d10/modules/contrib/image_style_quality/src/Plugin/ImageEffect/ImageStyleQualityImageEffect.php
----------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------
23 | ERROR | [ ] Missing member variable doc comment
24 | ERROR | [ ] Missing member variable doc comment
30 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------
FILE: /Users/projects/drupal-d10/modules/contrib/image_style_quality/src/MutableQualityToolkitManager.php
----------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------
15 | ERROR | Missing member variable doc comment
16 | ERROR | Missing member variable doc comment
----------------------------------------------------------------------------------------------------------------------
Time: 101ms; Memory: 10MB
Steps to reproduce
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml image_style_quality
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #3
kunal_sahu commentedComment #4
kunal_sahu commentedHi i could reproduce the issue. Got these coding standard issues .
Will create an MR to fix these issues.
Thanks
Comment #6
kunal_sahu commentedHi I have fixed all the issues related to Coding standards .
Please review and merge this MR. Thanks
Comment #7
nayana_mvr commentedVerified the MR!2 on Drupal version 10.1.x. Patch applied cleanly All the coding standard errors mentioned in the ticket are fixed now.
Comment #8
a.aaronjake commentedHi @kunal_sahu,
Applied the changes you committed on MR!2, it was applied successfully, however there are still few errors reported. Please see below:
Kindly check
Thanks,
Jake
Comment #9
heddnThis got fixed when #3485954: Gitlab CI yml got merged.