Fix the issues reported by phpcs

Created on 2 February 2023, almost 2 years ago
Updated 7 July 2023, over 1 year ago

Problem/Motivation

Fix following coding standard issue from PHPCS.

FILE: ...pplications/MAMP/htdocs/d9/web/modules/contrib/flag_anon/flag_anon.api.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
35 | ERROR | [x] Comments may not appear after statements
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...Applications/MAMP/htdocs/d9/web/modules/contrib/flag_anon/flag_anon.module
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
186 | ERROR | [x] list(...) is forbidden, use [...] instead.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...s/MAMP/htdocs/d9/web/modules/contrib/flag_anon/src/FlagAnonLinkBuilder.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
241 | ERROR | The array declaration extends to column 101 (the limit is 80).
| | The array content should be split up over multiple lines
--------------------------------------------------------------------------------

๐Ÿ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia noorulshameera

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024