PHP coding standard fixes

Created on 17 January 2023, almost 2 years ago
Updated 18 January 2023, almost 2 years ago

Problem/Motivation

$ phpcs --standard=drupal admin_local_tasks

FILE: ...tdocs\drupal9\d9.3\web\modules\admin_local_tasks\admin_local_tasks.api.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
18 | ERROR | [ ] Missing parameter type
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: D:\xammp1\htdocs\drupal9\d9.3\web\modules\admin_local_tasks\css\base.css
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
91 | ERROR | [ ] Style definitions must end with a semicolon
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 1.48 secs; Memory: 8MB

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Jitendra_Kumar

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Fixed almost 2 years ago
  • Status changed to Fixed almost 2 years ago
Production build 0.71.5 2024