PHPCS reported one error

Created on 5 January 2023, about 2 years ago
Updated 11 August 2024, 6 months ago

PHPCS reported the following error:

FILE: /square_bracket_superscripter/src/TwigExtension/SquareBracketSuperscripterTwigExtension.php
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------------------
 17 | ERROR | The array declaration extends to column 96 (the limit is 80). The array content should be split up over multiple lines
šŸ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

šŸ‡©šŸ‡ŖGermany solimanharkas Hamburg

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • šŸ‡µšŸ‡­Philippines clarkssquared

    Hi

    I applied the updated patch #5 and I confirmed that it fixes all the PHPCS issues.

    āžœ  square_bracket_superscripter git:(1.0.x) curl https://www.drupal.org/files/issues/2023-01-05/updated.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   897  100   897    0     0   1885      0 --:--:-- --:--:-- --:--:--  1933
    patching file README.md
    patching file 'src/TwigExtension/SquareBracketSuperscripterTwigExtension.php'
    āžœ  square_bracket_superscripter git:(1.0.x) āœ— ..
    āžœ  drupal_local git:(main) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml square_bracket_superscripter 
    āžœ  drupal_local git:(main) āœ— 
    
    

    RTBC +1 from me

Production build 0.71.5 2024