Drupal Coding Standards Issues | phpcs

Issue information

From user: sahil.goyal

Related to !1

Contribution record

Fork management

Problem/Motivation

FILE: .../sahil.goyal/Documents/MySites/10.1.x/drupal/modules/contrib/form_display_visibility/tests/src/Kernel/FormDisplayVisibilityAccessByPermissionTest.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------
25 | WARNING | [x] '@TODO Publish the schema so this is not needed.' should match the format '@todo Fix problem X here.'
79 | ERROR | [ ] Missing member variable doc comment
80 | ERROR | [ ] Missing member variable doc comment
-----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /Users/sahil.goyal/Documents/MySites/10.1.x/drupal/modules/contrib/form_display_visibility/README.md
----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
2 | WARNING | Line exceeds 80 characters; contains 178 characters
----------------------------------------------------------------------------------------------------------

Steps to reproduce

Run the following command: phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml /10.1.x/drupal/modules/contrib/form_display_visibility

Proposed resolution

Resolve all the php coding standard issues/warnings

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information