Fix phpcs warnings and errors

Created on 1 October 2024, about 2 months ago

Problem/Motivation

FILE: ...t/ecomail/web/modules/custom/ecomail/src/EcomailClientWrapperInterface.php
--------------------------------------------------------------------------------
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 20 LINES

FILE: ...ds/project/ecomail/web/modules/custom/ecomail/src/EcomailClientWrapper.php
--------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 11 LINES

PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
-----------------------------------------------------------------------
SOURCE COUNT
-----------------------------------------------------------------------
[ ] Drupal.Commenting.DocComment.MissingShort 16
[ ] Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps 3
[x] Squiz.WhiteSpace.SuperfluousWhitespace.EndLine 3
[x] Drupal.Arrays.DisallowLongArraySyntax.Found 2
[ ] Drupal.Files.LineLength.TooLong 2
[x] Drupal.Commenting.DataTypeNamespace.DataTypeNamespace 1
[x] Drupal.Commenting.DocComment.LongFullStop 1
[x] Drupal.Commenting.FunctionComment.Missing 1
[ ] Drupal.Commenting.FunctionComment.MissingParamName 1
[ ] Drupal.Commenting.FunctionComment.ParamMissingDefinition 1
[x] Drupal.Commenting.VariableComment.InlineVariableName 1
[x] Generic.PHP.UpperCaseConstant.Found 1
-----------------------------------------------------------------------
A TOTAL OF 33 SNIFF VIOLATIONS WERE FOUND IN 12 SOURCES

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024