Fix the issues reported by phpcs

Created on 28 March 2023, over 1 year ago
Updated 23 November 2023, 12 months ago

Problem/Motivation

FILE: /color_picker/color_picker.module
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
 47 | ERROR | Type hint "array" missing for $variables
------------------------------------------------------------------------------------

FILE: /color_picker/src/Element/ColorPicker.php
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
 16 | ERROR | Long array syntax must not be used in doc comment code annotations
--------------------------------------------------------------------------------------------

Steps to reproduce

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml color_picker

Proposed resolution

Fix the errors.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India Binoli Lalani Gujarat

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

Comments & Activities

Production build 0.71.5 2024