diff --git a/CHANGELOG.md b/CHANGELOG.md index e16874f9..0c66fbf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `Parser::setCharset()` and `Parser::getCharset()` (#703) + ### Removed ### Fixed diff --git a/src/Parser.php b/src/Parser.php index e582cfab..d653b3a8 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -35,6 +35,8 @@ public function __construct($sText, Settings $oParserSettings = null, $iLineNo = * @param string $sCharset * * @return void + * + * @deprecated will be removed in version 9.0.0 with #687 */ public function setCharset($sCharset) { @@ -45,6 +47,8 @@ public function setCharset($sCharset) * Returns the charset that is used if the CSS does not contain an `@charset` declaration. * * @return void + * + * @deprecated will be removed in version 9.0.0 with #687 */ public function getCharset() {