Missing class doc comment
(Drupal.Commenting.ClassComment.Missing)

Expected 1 space after IF keyword; 0 found
(Drupal.ControlStructures.ControlSignature.SpaceAfterKeyword)

Expected 1 space after FOREACH keyword; 0 found
(Drupal.ControlStructures.ControlSignature.SpaceAfterKeyword)

Concat operator must be surrounded by a single space
(Squiz.Strings.ConcatenationSpacing.PaddingFound)

Short array syntax must be used to define arrays
(Drupal.Arrays.DisallowLongArraySyntax.Found)

TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
(Generic.PHP.UpperCaseConstant.Found)

Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
(Drupal.Commenting.InlineComment.InvalidEndChar)

Concat operator must be surrounded by a single space
(Squiz.Strings.ConcatenationSpacing.PaddingFound)

Line exceeds 80 characters; contains 85 characters
(Drupal.Files.LineLength.TooLong)

The array declaration extends to column 125 (the limit is 80). The array content should be split up over multiple lines
(Drupal.Arrays.Array.LongLineDeclaration)

Comments

omrmankar created an issue. See original summary.

omrmankar’s picture

Assigned: omrmankar » Unassigned
Status: Needs work » Needs review
StatusFileSize
new10.1 KB

Hi,

I have created a patch that is working according to the phpcs standards and resolves all errors.

The patch is attached.

omrmankar’s picture

drpldrp’s picture

Status: Needs review » Fixed
drpldrp’s picture

Status: Fixed » Closed (fixed)