@@ -27,16 +27,14 @@ public function testXssSensitiveOutput()
27
27
* Static test will cover the following cases:
28
28
*
29
29
* 1. /\* @noEscape \*\/ before output. Output doesn't require escaping. Test is green.
30
- * 2. /\* @escapeNotVerified \*\/ before output. Output escaping is not checked and
31
- * should be verified. Test is green.
32
- * 3. Methods which contains "html" in their names (e.g. echo $object->{suffix}Html{postfix}() ).
30
+ * 2. Methods which contains "html" in their names (e.g. echo $object->{suffix}Html{postfix}() ).
33
31
* Data is ready for the HTML output. Test is green.
34
- * 4 . AbstractBlock methods escapeHtml, escapeUrl, escapeQuote, escapeXssInUrl are allowed. Test is green.
35
- * 5 . Type casting and php function count() are allowed
32
+ * 3 . AbstractBlock methods escapeHtml, escapeUrl, escapeQuote, escapeXssInUrl are allowed. Test is green.
33
+ * 4 . Type casting and php function count() are allowed
36
34
* (e.g. echo (int)$var, echo (float)$var, echo (bool)$var, echo count($var)). Test is green.
37
- * 6 . Output in single quotes (e.g. echo 'some text'). Test is green.
38
- * 7 . Output in double quotes without variables (e.g. echo "some text"). Test is green.
39
- * 8 . Other of p.1-7 . Output is not escaped. Test is red.
35
+ * 5 . Output in single quotes (e.g. echo 'some text'). Test is green.
36
+ * 6 . Output in double quotes without variables (e.g. echo "some text"). Test is green.
37
+ * 7 . Other of p.1-6 . Output is not escaped. Test is red.
40
38
*
41
39
* @param string $file
42
40
*/
0 commit comments