Unused variable $i

Created on 7 June 2023, over 1 year ago
Updated 11 July 2024, 5 months ago

FILE: D:\xampp\htdocs\my_site_name_dir\web\modules\contrib\ckeditor\tests\src\FunctionalJavascript\BigPipeRegressionTest.php
----------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------
100 | WARNING | Unused variable $i.
----------------------------------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India arti_parmar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @arti_parmar
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update over 1 year ago
    Patch Failed to Apply
  • 🇮🇳India arti_parmar

    Kindly review patch.

  • Assigned to arti_parmar
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update over 1 year ago
    Patch Failed to Apply
  • Issue was unassigned.
  • Status changed to Needs work 5 months ago
  • 🇮🇳India Vishal Choudhary Dharmshala

    There is an issue if I apply your Comment #3 patch file
    please check again Screenshot attached.
    Thanks.

  • Status changed to RTBC 5 months ago
  • 🇮🇳India chaitanyadessai Goa

    @Vishal Choudhary the patch changes have already been released in version 1.0.x therefore no need to apply the patch.

  • Status changed to Needs review 5 months ago
  • Status changed to Needs work 5 months ago
  • 🇮🇳India vinmayiswamy

    Hi @chaitanyadessai,
    Indeed, the changes have been released in version 1.0.x. But still, the warning wasn't resolved.

    I verified this in Drupal version 10.2.x. I'm still getting this Unused variable $i. warning along with other phpcs issues.

    Below are the phpcs issues from the same file.

    $ ./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/ckeditor 
    
    FILE: /Users/vinmayi.nidubrolu/projects/drupal102x/drupal/modules/contrib/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
    -------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    -------------------------------------------------------------------------------------------------------------------------------------------
      55 | ERROR   | Public method name "BigPipeRegressionTest::testCommentForm_2698811" is not in lowerCamel format
     100 | WARNING | Unused variable $i.
    -------------------------------------------------------------------------------------------------------------------------------------------
    
    

    Moving back to NW.

    Thanks!

Production build 0.71.5 2024