From 06fff565fa4bb229d18a39420813c13fab285cf1 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 25 Feb 2025 11:04:42 +0100 Subject: [PATCH] [TASK] Deprecate the IE hack in `Rule` With modern browsers, we don't need IE hacks anymore. (Also, this code is not used.) --- CHANGELOG.md | 1 + src/Rule/Rule.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8350e82..56e02126 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate the IE hack in `Rule` (#993) - `OutputFormat` properties for space around list separators as an array (#880) - Deprecate `OutputFormat::level()` (#870) diff --git a/src/Rule/Rule.php b/src/Rule/Rule.php index fe706191..27b3bfc8 100644 --- a/src/Rule/Rule.php +++ b/src/Rule/Rule.php @@ -36,6 +36,8 @@ class Rule implements Renderable, Commentable /** * @var array + * + * @deprecated since V8.8.0, will be removed in V9.0 */ private $aIeHack; @@ -319,6 +321,8 @@ public function addIeHack($iModifier) * @param array $aModifiers * * @return void + * + * @deprecated since V8.8.0, will be removed in V9.0 */ public function setIeHack(array $aModifiers) { @@ -327,6 +331,8 @@ public function setIeHack(array $aModifiers) /** * @return array + * + * @deprecated since V8.8.0, will be removed in V9.0 */ public function getIeHack() {