From 50f5101dbd1683cbde7658e39c84b2e1ff7b9af8 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 --- HtmlSanitizer.php | 2 -- HtmlSanitizerConfig.php | 2 -- HtmlSanitizerInterface.php | 2 -- Parser/MastermindsParser.php | 2 -- Parser/ParserInterface.php | 2 -- Visitor/AttributeSanitizer/AttributeSanitizerInterface.php | 2 -- Visitor/AttributeSanitizer/UrlAttributeSanitizer.php | 2 +- Visitor/Node/BlockedNode.php | 2 -- Visitor/Node/DocumentNode.php | 2 -- Visitor/Node/Node.php | 2 -- Visitor/Node/NodeInterface.php | 2 -- Visitor/Node/TextNode.php | 2 -- 12 files changed, 1 insertion(+), 23 deletions(-) diff --git a/HtmlSanitizer.php b/HtmlSanitizer.php index 2f49472..fb66892 100644 --- a/HtmlSanitizer.php +++ b/HtmlSanitizer.php @@ -19,8 +19,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class HtmlSanitizer implements HtmlSanitizerInterface { diff --git a/HtmlSanitizerConfig.php b/HtmlSanitizerConfig.php index 34576ca..aba3067 100644 --- a/HtmlSanitizerConfig.php +++ b/HtmlSanitizerConfig.php @@ -16,8 +16,6 @@ /** * @author Titouan Galopin - * - * @experimental */ class HtmlSanitizerConfig { diff --git a/HtmlSanitizerInterface.php b/HtmlSanitizerInterface.php index 559bcb6..f68d994 100644 --- a/HtmlSanitizerInterface.php +++ b/HtmlSanitizerInterface.php @@ -18,8 +18,6 @@ * ({@see https://wicg.github.io/sanitizer-api/}). * * @author Titouan Galopin - * - * @experimental */ interface HtmlSanitizerInterface { diff --git a/Parser/MastermindsParser.php b/Parser/MastermindsParser.php index f9752fc..b49849b 100644 --- a/Parser/MastermindsParser.php +++ b/Parser/MastermindsParser.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class MastermindsParser implements ParserInterface { diff --git a/Parser/ParserInterface.php b/Parser/ParserInterface.php index 50d56fa..1a12b45 100644 --- a/Parser/ParserInterface.php +++ b/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/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php b/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php index c4daa1d..92e983e 100644 --- a/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php +++ b/Visitor/AttributeSanitizer/AttributeSanitizerInterface.php @@ -17,8 +17,6 @@ * Implements attribute-specific sanitization logic. * * @author Titouan Galopin - * - * @experimental */ interface AttributeSanitizerInterface { diff --git a/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php b/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php index 2d5c5f0..a3dbf2f 100644 --- a/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php +++ b/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/Visitor/Node/BlockedNode.php b/Visitor/Node/BlockedNode.php index d438313..8376f66 100644 --- a/Visitor/Node/BlockedNode.php +++ b/Visitor/Node/BlockedNode.php @@ -13,8 +13,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class BlockedNode implements NodeInterface { diff --git a/Visitor/Node/DocumentNode.php b/Visitor/Node/DocumentNode.php index d5ef536..17037f8 100644 --- a/Visitor/Node/DocumentNode.php +++ b/Visitor/Node/DocumentNode.php @@ -13,8 +13,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class DocumentNode implements NodeInterface { diff --git a/Visitor/Node/Node.php b/Visitor/Node/Node.php index 8a4e5c3..46a6b17 100644 --- a/Visitor/Node/Node.php +++ b/Visitor/Node/Node.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class Node implements NodeInterface { diff --git a/Visitor/Node/NodeInterface.php b/Visitor/Node/NodeInterface.php index 27d9da7..53c69c0 100644 --- a/Visitor/Node/NodeInterface.php +++ b/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/Visitor/Node/TextNode.php b/Visitor/Node/TextNode.php index f06b7cc..d4378ad 100644 --- a/Visitor/Node/TextNode.php +++ b/Visitor/Node/TextNode.php @@ -15,8 +15,6 @@ /** * @author Titouan Galopin - * - * @experimental */ final class TextNode implements NodeInterface {