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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sidharth_soman created an issue. See original summary.

sidharth_soman’s picture

Assigned: sidharth_soman » Unassigned
Status: Needs work » Needs review

I have solved the issue and created the above MR. Please review.

d.fisher’s picture

Status: Needs review » Fixed

Thank you for your merge request. These have made their way in via this issue and will shortly be getting a tagged release:
https://www.drupal.org/project/country_path/issues/3543562

I am a new maintainer and still working my way through the issue queue! I have credited you here and will mark this as fixed so you get credit as your exact changes have been implemented in the other issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.