Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update a few references to list() #26023

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Update a few references to list()

Before

list($total, $removed, $notRemoved) = 

After

[, $removed, $notRemoved]

Technical Details

After finding myself in a fight with phpcs on #26002 I figured it made more sense to try to win with a recent version of code - which led me to @michaelmcandrew's efforts - https://packagist.org/packages/michaelmcandrew/civicrm-coding-standards#1.1.1

I'm still tinkering with those but they are throwing up this list construct - which we have been replacing anyway so I figured I'd put up a few fixes

Comments

@civibot
Copy link

civibot bot commented Apr 7, 2023

(Standard links)

@civibot civibot bot added the master label Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants