FILE: /var/www/html/contribution/web/modules/contrib/entity_reference_number_widget/README.txt
----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/entity_reference_number_widget/src/Plugin/Field/FieldWidget/EntityReferenceNumberWidget.php
------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
24 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found
25 | ERROR | [x] Expected 2 space(s) before asterisk; 3 found
48 | ERROR | [x] Expected 1 blank line after function; 0 found
49 | ERROR | [x] The closing brace for the class must have an empty line before it
------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/entity_reference_number_widget/
Issue fork entity_reference_number_widget-3353593
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:
- 3353593-fix-the-issues
compare
- phpcs
changes, plain diff MR !1
Comments
Comment #3
himanshu_jhaloya commentedComment #5
dwwThanks for reporting this. I ran
phpcbfmyself and committed the trivial changes.Since you've been on d.o for almost 2 years, I'm not going to grant credit for this. Please find something more interesting than such a trivial, automated fix if you'd like to contribute.
Cheers,
-Derek
Comment #7
dww