Skip to content

Commit 05cca52

Browse files
committed
Fix more PSR-12 style issues
1 parent d9fc105 commit 05cca52

File tree

16 files changed

+2
-17
lines changed

16 files changed

+2
-17
lines changed

src/Comment/Commentable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
interface Commentable
66
{
7-
87
/**
98
* @param array $aComments Array of comments.
109
*/

src/Property/KeyframeSelector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
class KeyframeSelector extends Selector
66
{
7-
87
//Regexes for specificity calculations
98

109
const SELECTOR_VALIDATION_RX = '/

src/Property/Selector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99
class Selector
1010
{
11-
1211
//Regexes for specificity calculations
1312
const NON_ID_ATTRIBUTES_AND_PSEUDO_CLASSES_RX = '/
1413
(\.[\w]+) # classes

src/Rule/Rule.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515
class Rule implements Renderable, Commentable
1616
{
17-
1817
private $sRule;
1918

2019
private $mValue;

src/RuleSet/RuleSet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515
abstract class RuleSet implements Renderable, Commentable
1616
{
17-
1817
private $aRules;
1918

2019
protected $iLineNo;
@@ -128,7 +127,8 @@ public function getRules($mRule = null)
128127
// or the search rule ends in “-” and the found rule starts with the search rule.
129128
if (
130129
!$mRule || $sName === $mRule
131-
|| (strrpos($mRule, '-') === strlen($mRule) - strlen('-')
130+
|| (
131+
strrpos($mRule, '-') === strlen($mRule) - strlen('-')
132132
&& (strpos($sName, $mRule) === 0 || $sName === substr($mRule, 0, -1))
133133
)
134134
) {

src/Value/CSSFunction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
class CSSFunction extends ValueList
66
{
7-
87
protected $sName;
98

109
/**

src/Value/CSSString.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
class CSSString extends PrimitiveValue
99
{
10-
1110
private $sString;
1211

1312
public function __construct($sString, $iLineNo = 0)

src/Value/Color.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
class Color extends CSSFunction
88
{
9-
109
public function __construct(array $aColor, $iLineNo = 0)
1110
{
1211
parent::__construct(implode('', array_keys($aColor)), $aColor, ',', $iLineNo);

src/Value/Size.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
class Size extends PrimitiveValue
88
{
9-
109
/**
1110
* vh/vw/vm(ax)/vmin/rem are absolute insofar as they don’t scale to the immediate parent (only the viewport)
1211
*

src/Value/URL.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
class URL extends PrimitiveValue
88
{
9-
109
private $oURL;
1110

1211
public function __construct(CSSString $oURL, $iLineNo = 0)

0 commit comments

Comments
 (0)