Project

General

Profile

Actions

Task #86589

closed

Fix continue-statement inside a switch-block

Added by Stefan Neufeind over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Code Cleanup
Target version:
-
Start date:
2018-10-08
Due date:
% Done:

100%

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

Description

Calling continue inside a switch-block would work just like break. This is usually not intended and thus triggers a warning since PHP 7.3.0.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #86813: Add PHP 7.3 to bamboo core v7 testingClosed2018-10-31

Actions
Has duplicate TYPO3 Core - Bug #91255: PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 314Closed2020-05-01

Actions
Actions #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58593

Actions #2

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58761

Actions #3

Updated by Stefan Neufeind over 5 years ago

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

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58764

Actions #5

Updated by Stefan Neufeind over 5 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by Christian Kuhn over 5 years ago

  • Related to Task #86813: Add PHP 7.3 to bamboo core v7 testing added
Actions #7

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions #8

Updated by Daniel Goerz almost 4 years ago

  • Has duplicate Bug #91255: PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 314 added
Actions

Also available in: Atom PDF