Task #101777
closedEnsure short list syntax is used
100%
Description
The short list syntax has been introduced with PHP 7.1. Instead of using list($foo, $bar)
it is possible to use [$foo, $bar]
instead. All occurrences of list()
have been migrated to the short list syntax with #90002, but a new usage has been introduced in at least one class.
We should extend our php-cs-fixer configuration to detect list()
usage.
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80731
Updated by Christian Kuhn about 1 year ago
- Related to Task #90002: Apply rector set php71 added
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80731
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80684
Updated by Torben Hansen about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8e3e4c3c2ebd77ff684db2fd3b8a125bcca66d05.