Project

General

Profile

Actions

Task #101777

closed

Ensure short list syntax is used

Added by Torben Hansen 8 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2023-08-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #90002: Apply rector set php71ClosedAlexander Schnitzler2019-12-20

Actions
Actions #1

Updated by Gerrit Code Review 8 months 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

Actions #2

Updated by Christian Kuhn 8 months ago

Actions #3

Updated by Gerrit Code Review 8 months 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

Actions #4

Updated by Gerrit Code Review 8 months 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

Actions #5

Updated by Torben Hansen 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF