Fix the issues reported by phpcs

Created on 6 June 2023, about 2 years ago
Updated 23 October 2023, over 1 year ago

Problem/Motivation

In the HttpPurgerFormBase.php file:
-------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
29 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.'
259 | ERROR | [x] Use null coalesce operator instead of ternary operator.
440 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.'
-------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------

Steps to reproduce

Run phpcs command on the module.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India sidharth_soman Bangalore

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

Comments & Activities

Production build 0.71.5 2024