Type hint "array" missing.

Created on 18 June 2022, over 2 years ago
Updated 5 September 2023, about 1 year ago

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

FILE: C:\xampp\htdocs\contribution\web\modules\contrib\hacked\hacked.drush.inc
------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------
85 | ERROR | Type hint "array" missing for $projects
132 | ERROR | Type hint "array" missing for $results
------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\contribution\web\modules\contrib\hacked\hacked.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 4 WARNINGS AFFECTING 14 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------
103 | ERROR | Type hint "array" missing for $nomask
-----------------------------------------------------------

FILE: C:\xampp\htdocs\contribution\web\modules\contrib\hacked\hacked.report.inc
-------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 7 LINES
-------------------------------------------------------------------------------
66 | ERROR | Type hint "array" missing for $variables
130 | ERROR | Type hint "array" missing for $variables
------------------------------------------------------------------------------

Time: 520ms; Memory: 10MB

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India Rakhi Soni

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024