From 13114ec5d42307e53a6586aeccb1192e84579dfc Mon Sep 17 00:00:00 2001 From: Titouan Galopin Date: Sun, 12 Feb 2023 12:59:13 +0100 Subject: [PATCH] [HtmlSanitizer] Remove experimental status --- src/Symfony/Component/HtmlSanitizer/HtmlSanitizer.php | 2 -- src/Symfony/Component/HtmlSanitizer/HtmlSanitizerConfig.php | 2 -- src/Symfony/Component/HtmlSanitizer/HtmlSanitizerInterface.php | 2 -- .../Component/HtmlSanitizer/Parser/MastermindsParser.php | 2 -- src/Symfony/Component/HtmlSanitizer/Parser/ParserInterface.php | 2 -- .../Visitor/AttributeSanitizer/AttributeSanitizerInterface.php | 2 -- .../Visitor/AttributeSanitizer/UrlAttributeSanitizer.php | 2 +- .../Component/HtmlSanitizer/Visitor/Node/BlockedNode.php | 2 -- .../Component/HtmlSanitizer/Visitor/Node/DocumentNode.php | 2 -- src/Symfony/Component/HtmlSanitizer/Visitor/Node/Node.php | 2 -- .../Component/HtmlSanitizer/Visitor/Node/NodeInterface.php | 2 -- src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php | 2 -- 12 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizer.php b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizer.php index 2f4947256602e..fb668921a8643 100644 --- a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizer.php +++ b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizer.php @@ -19,8 +19,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class HtmlSanitizer implements HtmlSanitizerInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerConfig.php b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerConfig.php index 34576ca9d95cf..aba306748b7cf 100644 --- a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerConfig.php +++ b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerConfig.php @@ -16,8 +16,6 @@ /** * @author Titouan Galopin - * - * @experimental */ class HtmlSanitizerConfig { diff --git a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerInterface.php b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerInterface.php index 559bcb6a46a98..f68d9944f51e8 100644 --- a/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerInterface.php +++ b/src/Symfony/Component/HtmlSanitizer/HtmlSanitizerInterface.php @@ -18,8 +18,6 @@ * ({@see https://wicg.github.io/sanitizer-api/}). * * @author Titouan Galopin - * - * @experimental */ interface HtmlSanitizerInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Parser/MastermindsParser.php b/src/Symfony/Component/HtmlSanitizer/Parser/MastermindsParser.php index f9752fc04901f..b49849bd23d27 100644 --- a/src/Symfony/Component/HtmlSanitizer/Parser/MastermindsParser.php +++ b/src/Symfony/Component/HtmlSanitizer/Parser/MastermindsParser.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class MastermindsParser implements ParserInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Parser/ParserInterface.php b/src/Symfony/Component/HtmlSanitizer/Parser/ParserInterface.php index 50d56fad6d3be..1a12b450c6d3c 100644 --- a/src/Symfony/Component/HtmlSanitizer/Parser/ParserInterface.php +++ b/src/Symfony/Component/HtmlSanitizer/Parser/ParserInterface.php @@ -15,8 +15,6 @@ * Transforms an untrusted HTML input string into a DOM tree. * * @author Titouan Galopin - * - * @experimental */ interface ParserInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php b/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php index c4daa1d17fbe3..92e983e87f1b5 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php @@ -17,8 +17,6 @@ * Implements attribute-specific sanitization logic. * * @author Titouan Galopin - * - * @experimental */ interface AttributeSanitizerInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php b/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php index 2d5c5f0b975db..a3dbf2f098663 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php @@ -15,7 +15,7 @@ use Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer; /** - * @experimental + * @author Titouan Galopin */ final class UrlAttributeSanitizer implements AttributeSanitizerInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/BlockedNode.php b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/BlockedNode.php index d438313d4ec76..8376f6664873f 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/BlockedNode.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/BlockedNode.php @@ -13,8 +13,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class BlockedNode implements NodeInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/DocumentNode.php b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/DocumentNode.php index d5ef5363015e7..17037f84da7c1 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/DocumentNode.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/DocumentNode.php @@ -13,8 +13,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class DocumentNode implements NodeInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/Node.php b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/Node.php index 8a4e5c32aa7ac..46a6b17a443de 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/Node.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/Node.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class Node implements NodeInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/NodeInterface.php b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/NodeInterface.php index 27d9da7ed97ac..53c69c0875096 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/NodeInterface.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/NodeInterface.php @@ -17,8 +17,6 @@ * Once the sanitization is done, nodes are rendered into the final output string. * * @author Titouan Galopin - * - * @experimental */ interface NodeInterface { diff --git a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php index f06b7ccdf47d1..d4378adc19d5b 100644 --- a/src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php +++ b/src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class TextNode implements NodeInterface {