Fix the issues reported by phpcs

Created on 26 June 2023, about 1 year ago
Updated 3 October 2023, 9 months ago

Problem/Motivation

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

Steps to reproduce

Need to fix the following issues using the php code standard commands.
FOUND 4 ERRORS AFFECTING 4 LINES
-------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
4415 | ERROR | [ ] Style definitions must end with a semicolon
7662 | ERROR | [ ] Style definitions must end with a semicolon
7672 | ERROR | [ ] Style definitions must end with a semicolon
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\know-how\themes\custom\estore\estore.theme
---------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
126 | WARNING | [x] '@todo: review the code.' should match the format '@todo Fix problem X here.'
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------

๐Ÿ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Prachi6824

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

Comments & Activities

Production build 0.69.0 2024