-
Notifications
You must be signed in to change notification settings - Fork 677
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Activate PHP 8.4 functional tests in pre-merge and a nightly combination. Similar to unit tests with #104578, we patch another library: enshrined/svg-sanitize. A patch is pending [1], but not yet merged nor released. Codewise its trivial. Some tests need a minor adaption since XML files are created slightly differently with PHP 8.4, the change aligns the fixtures to deal with this. [1] darylldoyle/svg-sanitizer#110 Resolves: #104604 Related: #104578 Releases: main Change-Id: I5d99275aa14d56c35894b270a7f111a50fd56ab7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85592 Reviewed-by: Garvin Hicking <gh@faktor-e.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: core-ci <typo3@b13.com> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Garvin Hicking <gh@faktor-e.de>
- Loading branch information
Showing
8 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
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
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
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,13 @@ | ||
diff --git a/src/Exceptions/NestingException.php b/src/Exceptions/NestingException.php | ||
index 474b987..7acc842 100644 | ||
--- a/src/Exceptions/NestingException.php | ||
+++ b/src/Exceptions/NestingException.php | ||
@@ -18,7 +18,7 @@ class NestingException extends \Exception | ||
* @param Exception|null $previous | ||
* @param \DOMElement|null $element | ||
*/ | ||
- public function __construct($message = "", $code = 0, Exception $previous = null, \DOMElement $element = null) | ||
+ public function __construct($message = "", $code = 0, ?Exception $previous = null, ?\DOMElement $element = null) | ||
{ | ||
$this->element = $element; | ||
parent::__construct($message, $code, $previous); |
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
2 changes: 1 addition & 1 deletion
2
typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/external.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/svgOne.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xlinkLoop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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