Commit 40a352f9 authored by Martin Kutschker's avatar Martin Kutschker Committed by Anja Leichsenring
Browse files

[BUGFIX] Look at whole word checking for *Scanned

The words FullyScanned, PartiallyScanned and NotScanned
must not have any leading or trailing characters
when on the last line of an ReST file for
breaking changes or deprecations.

Resolves: #93208
Releases: master, 10.4
Change-Id: I4a8f0e7cf61cc885df3566e2fb4621c80d82f744

Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: default avatarTYPO3com <>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <>
parent 9b52ab38
......@@ -194,7 +194,7 @@ class validateRstFiles
. '[78]' // from 7.x and 8.x (as there was no extension scanner back then)
. ')'
. '#',
'regex' => '#^\.\. index:: .*(?:FullyScanned|PartiallyScanned|NotScanned).*#',
'regex' => '#^\.\. index:: .*[, ](?:Fully|Partially|Not)Scanned([, ]|$).*#',
'title' => 'missing FullyScanned / PartiallyScanned / NotScanned tag',
'message' => 'insert \'.. index:: <at least one valid keyword and either FullyScanned, PartiallyScanned or NotScanned>\' at the last line of the file. See Build/Scripts/validateRstFiles.php for allowed keywords',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment