Task #85161

Introduce early returns in class LinkAnalyzer

Added by Andreas Wolf 12 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2018-06-05
Due date:
% Done:

100%

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

Description

The class has some deeply nested and long methods. By introducing early returns it can be made easier to understand.

Associated revisions

Revision 6e69a421 (diff)
Added by Andreas Wolf 11 months ago

[CLEANUP] Introduce early returns in class LinkAnalyzer

Some methods in the class were deeply nested and thus hard to
understand; the early returns make the flow more linearly and more
easily comprehensible.

Change-Id: Ibce7cea04933ffa28ad28b13b6f38e13741b99bb
Resolves: #85161
Releases: master
Reviewed-on: https://review.typo3.org/57127
Tested-by: TYPO3com <>
Reviewed-by: Markus Klein <>
Reviewed-by: Joerg Boesche <>
Reviewed-by: Willi Wehmeier <>
Reviewed-by: Andreas Wolf <>
Reviewed-by: Stefan Neufeind <>
Tested-by: Stefan Neufeind <>

History

#1 Updated by Gerrit Code Review 12 months ago

  • Status changed from In Progress 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/57127

#2 Updated by Anonymous 11 months ago

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

#3 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF