apigee / apigee-devportal-kickstart-drupal

A fast demo and starting point for Apigee Developer Portals for Drupal
https://www.drupal.org/project/apigee_devportal_kickstart
GNU General Public License v2.0
26 stars 34 forks source link

Long array syntax must not be used in doc comment code annotation #576

Closed phdhiren closed 1 year ago

phdhiren commented 1 year ago

Description

When checking with phpcs it throw following error

FILE: ...s/custom/apigee_kickstart_customizer/src/Element/PseudoColor.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 38 | ERROR | Long array syntax must not be used in doc comment code
    |       | annotations
    |       | (Drupal.Commenting.DocCommentLongArraySyntax.DocLongArray)
----------------------------------------------------------------------

Expected Behavior

No error should come when checking for phpcs