Skip to content

Commit 64e37b8

Browse files
authored
[TASK] Deprecate the IE hack in Rule (#993)
With modern browsers, we don't need IE hacks anymore. (Also, this code is not used.)
1 parent 29d6985 commit 64e37b8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1717

1818
### Deprecated
1919

20+
- Deprecate the IE hack in `Rule` (#993)
2021
- `OutputFormat` properties for space around list separators as an array (#880)
2122
- Deprecate `OutputFormat::level()` (#870)
2223

src/Rule/Rule.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class Rule implements Renderable, Commentable
3636

3737
/**
3838
* @var array<int, int>
39+
*
40+
* @deprecated since V8.8.0, will be removed in V9.0
3941
*/
4042
private $aIeHack;
4143

@@ -319,6 +321,8 @@ public function addIeHack($iModifier)
319321
* @param array<int, int> $aModifiers
320322
*
321323
* @return void
324+
*
325+
* @deprecated since V8.8.0, will be removed in V9.0
322326
*/
323327
public function setIeHack(array $aModifiers)
324328
{
@@ -327,6 +331,8 @@ public function setIeHack(array $aModifiers)
327331

328332
/**
329333
* @return array<int, int>
334+
*
335+
* @deprecated since V8.8.0, will be removed in V9.0
330336
*/
331337
public function getIeHack()
332338
{

0 commit comments

Comments
 (0)