Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Apr 30, 2021
1 parent 24f50ed commit 133e694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -1097,4 +1097,6 @@ interface Attribute
const DATA_WEBCARE_ID = 'data-webcare-id';
const DATA_WIDGET_ID = 'data-widget-id';
const DATA_WIDGET_TYPE = 'data-widget-type';

const CROSSORIGIN_ANONYMOUS = 'anonymous';
}
1 change: 1 addition & 0 deletions src/Dom/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function addInlineStyle($style)
* @param string $value The value of the attribute.
* @return DOMAttr|false The new or modified DOMAttr or false if an error occurred.
* @throws MaxCssByteCountExceeded If the allowed max byte count is exceeded.
* @throws DOMException With code DOM_NO_MODIFICATION_ALLOWED_ERR if the node is readonly.
*/
public function setAttribute($name, $value)
{
Expand Down

0 comments on commit 133e694

Please sign in to comment.