138 lines
3.1 KiB
YAML
138 lines
3.1 KiB
YAML
name: HtmlSanitizerCustomTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: HtmlSanitizer
|
|
type: class
|
|
source: Symfony\Component\HtmlSanitizer\HtmlSanitizer
|
|
- name: HtmlSanitizerConfig
|
|
type: class
|
|
source: Symfony\Component\HtmlSanitizer\HtmlSanitizerConfig
|
|
- name: AttributeSanitizerInterface
|
|
type: class
|
|
source: Symfony\Component\HtmlSanitizer\Visitor\AttributeSanitizer\AttributeSanitizerInterface
|
|
properties: []
|
|
methods:
|
|
- name: testSanitizeForHead
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSanitizeForTextarea
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSanitizeForTitle
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSanitizeDeepNestedString
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSanitizeNullByte
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSanitizeDefaultBody
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowElement
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowElementWithAttribute
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testBlockElement
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDropElement
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowAttributeOnElement
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowAttributeEverywhere
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDropAttributeOnElement
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testDropAttributeEverywhere
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testForceAttribute
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testForceHttps
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowLinksSchemes
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowLinksHosts
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowLinksRelative
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowMediaSchemes
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowMediasHosts
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAllowMediasRelative
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCustomAttributeSanitizer
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getSupportedElements
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getSupportedAttributes
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: sanitizeAttribute
|
|
visibility: public
|
|
parameters:
|
|
- name: element
|
|
- name: attribute
|
|
- name: value
|
|
- name: config
|
|
comment: null
|
|
- name: sanitize
|
|
visibility: private
|
|
parameters:
|
|
- name: config
|
|
- name: input
|
|
comment: null
|
|
traits:
|
|
- PHPUnit\Framework\TestCase
|
|
- Symfony\Component\HtmlSanitizer\HtmlSanitizer
|
|
- Symfony\Component\HtmlSanitizer\HtmlSanitizerConfig
|
|
- Symfony\Component\HtmlSanitizer\Visitor\AttributeSanitizer\AttributeSanitizerInterface
|
|
interfaces:
|
|
- AttributeSanitizerInterface
|