Skip to content

Commit 09ccc3a

Browse files
committed
Remove deprecated properties
1 parent 72fa3ab commit 09ccc3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Readability.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ class Readability implements LoggerAwareInterface
3737
public $url = null;
3838
// preserves more content (experimental)
3939
public $lightClean = true;
40-
// no more used, keept to avoid BC
41-
public $debug = false;
42-
public $tidied = false;
4340

4441
/**
4542
* All of the regular expressions in use within readability.
@@ -1419,7 +1416,6 @@ private function loadHtml(): void
14191416

14201417
$tidy = tidy_repair_string($this->html, $this->tidy_config, 'UTF8');
14211418
if (false !== $tidy && $this->html !== $tidy) {
1422-
$this->tidied = true;
14231419
$this->html = $tidy;
14241420
$this->html = preg_replace('/[\r\n]+/is', "\n", $this->html);
14251421
}

0 commit comments

Comments
 (0)