Fix PHPCS after #3379701

Created on 7 August 2023, over 1 year ago

Problem/Motivation

After fixing #3379701 there are 2 coding standards issues found:

FILE: .../web/modules/contrib/phone_number/modules/sms_phone_number/src/Element/SmsPhoneNumber.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------
 30 | ERROR | Long array syntax must not be used in doc comment code annotations
---------------------------------------------------------------------------------------------------------------------------------------------


FILE: .../web/modules/contrib/phone_number/src/Element/PhoneNumber.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 27 | ERROR | Long array syntax must not be used in doc comment code annotations
-----------------------------------------------------------------------------------------------------------------

Steps to reproduce

Run phpcs

Proposed resolution

Fix the issues.

Remaining tasks

Provide fix.

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

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