Project

General

Profile

Actions

Task #92715

closed

Always handle linktypes in linkvalidator as list

Added by Sybille Peters over 3 years ago. Updated about 3 years ago.

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

100%

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 2 (0 open2 closed)

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

Actions
Related to TYPO3 Core - Bug #98335: Option to send email on new broken links only is not working in Linkvalidator schedulerClosed2022-09-12

Actions
Actions

Also available in: Atom PDF