Problem/Motivation

$ phpcs --standard=Drupal .

FILE: /faker_generate/src/Form/FakerGenerateContentForm.php
----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
 123 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
----------------------------------------------------------------------------------------------------------


FILE: /faker_generate/src/FakerGenerate.php
--------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------
  93 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
  93 | ERROR | [x] Expected one space after the comma, 0 found
  93 | ERROR | [x] Expected one space after the comma, 0 found
 101 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
 101 | ERROR | [x] Expected one space after the comma, 0 found
 101 | ERROR | [x] Expected one space after the comma, 0 found
--------------------------------------------------------------------------------------------

Proposed resolution

Fix the errors as per Drupal coding standards.

User interface changes

NONE

API changes

NONE

Data model changes

NONE

CommentFileSizeAuthor
#2 3166380-2.patch1.61 KBankithashetty

Comments

ankithashetty created an issue. See original summary.

ankithashetty’s picture

Status: Active » Needs review
StatusFileSize
new1.61 KB

Made the required changes as per the Drupal coding standard in the following patch file, kindly review.

Thank you!

gaurav.kapoor’s picture

Status: Needs review » Reviewed & tested by the community

The patch would require some changes, which I will do once pushing this. Thanks for working on this.

gaurav.kapoor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.