Task #92715

Always handle linktypes in linkvalidator as list

Added by Sybille Peters about 1 month ago. Updated 6 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2020-10-27
Due date:
% Done:

0%

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

Description

The TSconfig of linkvalidator contains 'linktypes' which is a list of link types which should be checked (e.g. 'external','db' ...).

This list of links can have 2 different formats inside internal code:

#. numbered list

['external', 'db']

or

#. array:

[
   'external' => 1,
   'db' => 1
]

Converting this makes the code hard to read and error prone.

Only the first format should be used.


Related issues

Related to TYPO3 Core - Task #92557: Use strict in all classes in linkvalidator, add type hintsUnder Review2020-10-13

Actions
#1

Updated by Sybille Peters about 1 month ago

  • Related to Task #92557: Use strict in all classes in linkvalidator, add type hints added
#2

Updated by Gerrit Code Review about 1 month 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/c/Packages/TYPO3.CMS/+/66319

#3

Updated by Gerrit Code Review about 1 month ago

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

#4

Updated by Gerrit Code Review 7 days ago

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

#5

Updated by Gerrit Code Review 7 days ago

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

#6

Updated by Gerrit Code Review 6 days ago

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

Also available in: Atom PDF