FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\gantt\gantt.theme.inc
------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------
22 | WARNING | Unused variable $baseTable.
28 | WARNING | Unused variable $colors.
67 | WARNING | Unused variable $columns.
97 | WARNING | Unused variable $dateSettings.
------------------------------------------------------------------------

Comments

akshay.kelotra created an issue. See original summary.

akshay.kelotra’s picture

Assigned: akshay.kelotra » Unassigned
Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new2.15 KB

I have fixed this issue and providing a patch.

gabrieldv’s picture

Assigned: Unassigned » gabrieldv

Thanks for the changes @akshay.kelotra, I'll review it :)

gabrieldv’s picture

Assigned: gabrieldv » Unassigned
StatusFileSize
new555 bytes

The last patch was outdated so i sent a patch that fix the PHPCS warning inside the issue scope file.

gabrieldv’s picture

StatusFileSize
new3.49 KB

Also, the PHPCS returned me more errors, but i thought it wasn't in this issue scope so i added in a file showing every error i found.

Command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml

lazzyvn’s picture

just run phpcs --standard=Drupal it will work :)

gersonjl’s picture

Assigned: Unassigned » gersonjl

Hi, I'll review this

gersonjl’s picture

Assigned: gersonjl » Unassigned
Status: Needs review » Reviewed & tested by the community

Warnings reported by @akshay.kelotra are gone with @gabrieldv patch.

lazzyvn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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