list(...) is forbidden, use [...] instead.

Created on 3 July 2023, 12 months ago

Problem/Motivation

PHP Codesniffer gives the 'list(...) is forbidden' error for two files: CountryPathDomainAliasForm.php and CountryPathDomainForm.php.

Steps to reproduce

Run the phpcs command on the module.

Proposed resolution

Use bracket notation for array creation instead.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India sidharth_soman Bangalore

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

Comments & Activities

Production build 0.69.0 2024