Fix the issues reported by phpcs

Created on 10 October 2023, 9 months ago
Updated 5 January 2024, 6 months ago

Problem/Motivation

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\many_selects\many_selects.module
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\many_selects\src\Plugin\Field\FieldWidget\OptionsManySelectWidget.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
76 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces, found 4
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------

Steps to reproduce

Install Many selects module and perform PHPCS for Drupal Standards

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇮🇳India Gautam_105@

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024