Fix errors found by Gitlab CI - PHPstan

Created on 12 April 2024, 10 months ago
Updated 27 April 2024, 9 months ago
 ------ ------------------------------------------------------- 
  Line   inc/section_11_accessibility.inc                       
 ------ ------------------------------------------------------- 
  38     Array has 2 duplicate keys with value 'handbook_page'  
         ('handbook_page', 'handbook_page').                    
 ------ ------------------------------------------------------- 
 [ERROR] Found 1 error   
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States thejimbirch Cape Cod, Massachusetts

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

Merge Requests

Comments & Activities

  • Issue created by @thejimbirch
  • Merge request !11Update section_11_accessibility.inc → (Merged) created by thejimbirch
  • Status changed to Needs review 10 months ago
  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts

    Is it as simple as changing the name of the link?

    Make sure this doesn't WSOD and works as expected.

    The A11y tab -> Accessibility Checker
    Run an accessibility checker, such as WAVE or Axe, to check for any outstanding accessibility issues.

    Should have 2 links, one for WAVE, one for Axe.

  • First commit to issue fork.
  • Pipeline finished with Success
    10 months ago
    Total: 140s
    #144555
  • 🇮🇳India mitthukumawat

    Fixed below coding standard errors:

     /modules/contrib $ phpcs --standard=Drupal --extensions=php,module,inc,install launch_checklist/
    
    FILE: /modules/contrib/launch_checklist/inc/section_14_printability.inc
    --------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AND 1 WARNING AFFECTING 2 LINES
    --------------------------------------------------------------------------------------------------------------------------------------------
      8 | WARNING | [x] Unused use statement
     29 | ERROR   | [x] Short array syntax must be used to define arrays
     29 | ERROR   | [ ] The array declaration extends to column 211 (the limit is 80). The array content should be split up over multiple lines
    --------------------------------------------------------------------------------------------------------------------------------------------
  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts

    thejimbirch changed the visibility of the branch 3440383-fix-errors-found to hidden.

  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts

    This issue is for fixing PHPstan errors, not PHPcs.

  • Status changed to Active 10 months ago
  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts
  • Status changed to Fixed 10 months ago
  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts

    All green on PHPstan.

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

Production build 0.71.5 2024