Fix issues reported by upgrade_status for Drupal 11.x

Created on 8 November 2024, 15 days ago

Problem/Motivation

When running the upgrade status it reports the next erros:

CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
BigInt
Scanned on Fri, 11/08/2024 - 18:46.

5 warnings found.

web/modules/contrib/bigint/src/Plugin/Field/FieldType/BigIntItem.php:
+----------------+------+------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                          |
+----------------+------+------------------------------------------------------------------------------------------------------------------+
| Check
manually | 42   | Implicit array creation is not allowed - variable
$properties does not exist.
                                   |
| Check
manually | 56   | Only booleans are allowed in an if condition, mixed given.
                                                      |
| Check
manually | 93   | Short ternary operator is not allowed. Use null coalesce
operator if applicable or consider using long ternary.
 |
| Check
manually | 94   | Short ternary operator is not allowed. Use null coalesce
operator if applicable or consider using long ternary.
 |
| Check
manually | 95   | Implicit array creation is not allowed - variable $values
does not exist.
                                       |
+----------------+------+------------------------------------------------------------------------------------------------------------------+

Steps to reproduce

Install Drupal 10.3.x
Install upgrade_status
Scan module

Proposed resolution

Fix problems

Remaining tasks

Fix problems

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Comments & Activities

Production build 0.71.5 2024