Fix the issues reported by phpcs

Created on 21 June 2023, over 1 year ago
Updated 1 July 2023, over 1 year ago

Problem/Motivation

There are some issues which are reported by PHP code sniffer.

FILE: D:\xampp\htdocs\know-how\themes\custom\akara\akara.theme
-------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 7 LINES
-------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
9 | WARNING | [x] Unused use statement
45 | ERROR | [x] Concat operator must be surrounded by a single space
46 | ERROR | [x] Expected 1 space after IF keyword; 0 found
47 | ERROR | [x] Concat operator must be surrounded by a single space
47 | ERROR | [x] Concat operator must be surrounded by a single space
57 | ERROR | [x] Opening brace should be on the same line as the declaration
63 | ERROR | [x] Case breaking statements must be followed by a single blank line

Steps to reproduce

Need to fix these issues.

๐Ÿ“Œ Task
Status

Fixed

Version

1.2

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.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024