Fix the issues reported by phpcs

Created on 23 June 2023, over 1 year ago
Updated 30 June 2023, over 1 year ago

Problem/Motivation

There are some issues which are reported by PHP code sniffer within the .theme file.

Steps to reproduce

FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
119 | WARNING | [x] 'TODO: Create a template for this.' should match the format '@todo Fix problem X here.'
125 | WARNING | [x] 'TODO: Disable id in backend config.' should match the format '@todo Fix problem X here.'
129 | WARNING | [x] 'TODO: Do we need this?' should match the format '@todo Fix problem X here.'

Proposed resolution

Need to fix the following issues using the php code standard commands.

๐Ÿ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Prachi6824

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