Fix the issues reported by phpcs

Created on 6 July 2023, about 2 years ago
Updated 29 September 2023, almost 2 years ago

Problem/Motivation

FILE: .../vb/d_cont/media_file_bulk_archive/src/Form/FileBulkArchiveConfirmForm.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
17 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
| | referenced with use statements
202 | WARNING | [ ] Unused variable $id.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...d_cont/media_file_bulk_archive/src/Plugin/Action/FileBulkArchiveAction.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
20 | WARNING | Line exceeds 80 characters; contains 83 characters
--------------------------------------------------------------------------------

Time: 89ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig media_file_bulk_archive/

Remaining tasks

Patch review

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India urvashi_vora Madhya Pradesh, India

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