Fix the issues reported by phpcs

Created on 13 March 2023, over 1 year ago
Updated 26 April 2023, over 1 year ago

Problem/Motivation

FILE: /Users/projects/drupal-d10/modules/contrib/media_library_edit/media_library_edit.module
-------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------
 8 | WARNING | [x] Unused use statement
-------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------


FILE: /Users/projects/drupal-d10/modules/contrib/media_library_edit/css/media_library_edit.admin.css
-------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------
 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
 36 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 37 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
-------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------


FILE: /Users/projects/drupal-d10/modules/contrib/media_library_edit/drupalci.yml
-------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------
 31 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------

FILE: /Users/projects/drupal-d10/modules/contrib/media_library_edit/tests/src/Functional/LoadTest.php
-------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------
 17 | ERROR | Missing @var tag in member variable comment
-------------------------------------------------------------

Time: 87ms; Memory: 10MB

Steps to reproduce

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml media_library_edit

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India rassoni Bangalore

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