Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Prevent side effects in rst extension scanner tags check
There might be no comma in front of an extension scanner tag. This should not lead to an error as it's unrelated for this check and will already be catched by the "validateLastLine" check. Resolves: #102987 Releases: main, 12.4, 11.5 Change-Id: Icda7cbb1b01ced39ee80311e15bccdfd9318b953 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82718 Tested-by: core-ci <typo3@b13.com> Reviewed-by: Oliver Bartsch <bo@cedev.de> Tested-by: Oliver Bartsch <bo@cedev.de>
- Loading branch information
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...Scripts/test/rstFiles/data/test4/Changelog/master/Deprecation-12345-Test4-1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _deprecation-12345-4: | ||
|
||
============================ | ||
Deprecation: #12345 - Test 4 | ||
============================ | ||
|
||
See :issue:`12345` | ||
|
||
Description | ||
=========== | ||
|
||
This file should fail, because the index line at the bottom is missing. |
16 changes: 16 additions & 0 deletions
16
...Scripts/test/rstFiles/data/test4/Changelog/master/Deprecation-12345-Test4-2.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _deprecation-12345-4: | ||
|
||
============================ | ||
Deprecation: #12345 - Test 4 | ||
============================ | ||
|
||
See :issue:`12345` | ||
|
||
Description | ||
=========== | ||
|
||
This file should fail, because the Scanned-Tag is invalid | ||
|
||
.. index:: PHP-API, HalfScanned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...Scripts/test/rstFiles/data/test4/Changelog/master/Deprecation-12345-Test4-5.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _deprecation-12345-4: | ||
|
||
============================ | ||
Deprecation: #12345 - Test 4 | ||
============================ | ||
|
||
See :issue:`12345` | ||
|
||
Description | ||
=========== | ||
|
||
This file should fail, because the keyword (component) is missing | ||
|
||
.. index:: NotScanned, ext:core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters