Skip to content

Commit 61f90b8

Browse files
committed
Remove setLineNo() method from everywhere
1 parent 45f7b3b commit 61f90b8

File tree

9 files changed

+0
-57
lines changed

9 files changed

+0
-57
lines changed

lib/Sabberworm/CSS/CSSList/CSSList.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ public function getLineNo() {
2828
return $this->iLineNo;
2929
}
3030

31-
/**
32-
* @param int $iLineNo
33-
*/
34-
public function setLineNo($iLineNo = 0) {
35-
$this->iLineNo = $iLineNo;
36-
}
37-
3831
public function append($oItem) {
3932
$this->aContents[] = $oItem;
4033
}

lib/Sabberworm/CSS/Property/CSSNamespace.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ public function getLineNo() {
2323
return $this->iLineNo;
2424
}
2525

26-
/**
27-
* @param int $iLineNo
28-
*/
29-
public function setLineNo($iLineNo = 0) {
30-
$this->iLineNo = $iLineNo;
31-
}
32-
3326
public function __toString() {
3427
return $this->render(new \Sabberworm\CSS\OutputFormat());
3528
}

lib/Sabberworm/CSS/Property/Charset.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ public function getLineNo() {
2626
return $this->iLineNo;
2727
}
2828

29-
/**
30-
* @param int $iLineNo
31-
*/
32-
public function setLineNo($iLineNo = 0) {
33-
$this->iLineNo = $iLineNo;
34-
}
35-
3629
public function setCharset($sCharset) {
3730
$this->sCharset = $sCharset;
3831
}

lib/Sabberworm/CSS/Property/Import.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ public function getLineNo() {
2525
return $this->iLineNo;
2626
}
2727

28-
/**
29-
* @param int $iLineNo
30-
*/
31-
public function setLineNo($iLineNo = 0) {
32-
$this->iLineNo = $iLineNo;
33-
}
34-
3528
public function setLocation($oLocation) {
3629
$this->oLocation = $oLocation;
3730
}

lib/Sabberworm/CSS/Renderable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ interface Renderable {
66
public function __toString();
77
public function render(\Sabberworm\CSS\OutputFormat $oOutputFormat);
88
public function getLineNo();
9-
public function setLineNo();
109
}

lib/Sabberworm/CSS/Rule/Rule.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ public function getLineNo() {
3131
return $this->iLineNo;
3232
}
3333

34-
/**
35-
* @param int $iLineNo
36-
*/
37-
public function setLineNo($iLineNo = 0) {
38-
$this->iLineNo = $iLineNo;
39-
}
40-
4134
public function setRule($sRule) {
4235
$this->sRule = $sRule;
4336
}

lib/Sabberworm/CSS/RuleSet/RuleSet.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ public function getLineNo() {
2626
return $this->iLineNo;
2727
}
2828

29-
/**
30-
* @param int $iLineNo
31-
*/
32-
public function setLineNo($iLineNo = 0) {
33-
$this->iLineNo = $iLineNo;
34-
}
35-
3629
public function addRule(Rule $oRule) {
3730
$sRule = $oRule->getRule();
3831
if(!isset($this->aRules[$sRule])) {

lib/Sabberworm/CSS/Value/Color.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ public function setColor($aColor) {
1717
$this->aComponents = $aColor;
1818
}
1919

20-
public function setLineNo($iLineNo = 0) {
21-
foreach($this->aComponents as $color_component) {
22-
$color_component->setLineNo($iLineNo);
23-
}
24-
parent::setLineNo($iLineNo);
25-
}
26-
2720
public function getColorDescription() {
2821
return $this->getName();
2922
}

lib/Sabberworm/CSS/Value/Value.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ public function getLineNo() {
1818
return $this->iLineNo;
1919
}
2020

21-
/**
22-
* @param int $iLineNo
23-
*/
24-
public function setLineNo($iLineNo = 0) {
25-
$this->iLineNo = $iLineNo;
26-
}
27-
2821
//Methods are commented out because re-declaring them here is a fatal error in PHP < 5.3.9
2922
//public abstract function __toString();
3023
//public abstract function render(\Sabberworm\CSS\OutputFormat $oOutputFormat);

0 commit comments

Comments
 (0)