Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/Builder/CommonBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ class CommonBuilder implements BuilderInterface
*/
protected $srcAttr;

/**
* @var Behavior\Attr
* @deprecated not used anymore
*/
protected $srcsetAttr;

public function __construct()
{
$bluntUriAttrValueBuilder = new UriAttrValueBuilder();
Expand All @@ -57,13 +51,6 @@ public function __construct()
->addValues(...($uriAttrValueBuilders['href'] ?? $bluntUriAttrValueBuilder)->getValues());
$this->srcAttr = (new Behavior\Attr('src'))
->addValues(...($uriAttrValueBuilders['src'] ?? $bluntUriAttrValueBuilder)->getValues());

// @deprecated not used anymore
$srcsetAttrValueBuilder = (new UriAttrValueBuilder())
->allowLocal(true)
->allowSchemes('http', 'https');
$this->srcsetAttr = (new Behavior\Attr('src'))
->addValues(...$srcsetAttrValueBuilder->getValues());
}

public function build(): Sanitizer
Expand Down