Problem/Motivation

FILE: D:\xampp\htdocs\drupal_10\web\modules\contrib\aichat\aichat.info.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\modules\contrib\aichat\aichat.module
----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

Steps to reproduce
Use the below command with arguments.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml aichat/

Proposed resolution
Fix the phpcs issue

CommentFileSizeAuthor
#2 3367843-2.patch518 bytesarti_parmar

Comments

arti_parmar created an issue. See original summary.

arti_parmar’s picture

Assigned: arti_parmar » Unassigned
Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new518 bytes

Kindly review patch.

mindaugasd’s picture

Thank you. Such a small module and already 3 errors :)
That is a good start - let's keep the module tidy from the very beginning.
I will commit the patch later today.

mindaugasd’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mindaugasd’s picture

Version: » 1.0.x-dev
Category: Bug report » Task