Passed
Push — master ( dbab32...662443 )
by Domenico
08:00
created
src/Filters/Html/CallbacksHandler.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param string $buffer The complete HTML tag string (e.g., "<p>", "</div>").
39 39
      * @return string The processed result that should replace the tag in the output.
40 40
      */
41
-    abstract protected function _finalizeMarkupTag( string $buffer ): string;
41
+    abstract protected function _finalizeMarkupTag(string $buffer): string;
42 42
 
43 43
     /**
44 44
      * Handles buffers that are determined to be invalid or malformed markup.
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param string $buffer The invalid or incomplete tag-like string.
49 49
      * @return string The processed, safe representation of the buffer.
50 50
      */
51
-    abstract protected function _fixWrongBuffer( string $buffer ): string;
51
+    abstract protected function _fixWrongBuffer(string $buffer): string;
52 52
 
53 53
     /**
54 54
      * Validates if a given buffer constitutes a well-formed HTML tag.
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @return bool A truthy value if the tag is valid, falsy otherwise.
59 59
      *                (Note: The return type is string for legacy reasons but is treated as a boolean).
60 60
      */
61
-    abstract protected function _isTagValid( string $buffer ): bool;
61
+    abstract protected function _isTagValid(string $buffer): bool;
62 62
 
63 63
     /**
64 64
      * Processes a buffer containing plain text found between or outside of HTML tags.
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @param string $buffer The segment of plain text.
67 67
      * @return string The processed representation of the text.
68 68
      */
69
-    abstract protected function _finalizePlainText( string $buffer ): string;
69
+    abstract protected function _finalizePlainText(string $buffer): string;
70 70
 
71 71
     /**
72 72
      * Processes the entire content of special blocks, such as HTML comments (`<!-- ... -->`),
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @param string $buffer The full content of the script, style, or comment block.
76 76
      * @return string The processed representation of the block.
77 77
      */
78
-    abstract protected function _finalizeScriptTag( string $buffer ): string;
78
+    abstract protected function _finalizeScriptTag(string $buffer): string;
79 79
 
80 80
     /**
81 81
      * Signals to the processing pipeline that the current segment contains HTML markup.
Please login to merge, or discard this patch.