Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Comment/Commentable.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

interface Commentable
{

/**
* @param array $aComments Array of comments.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Property/KeyframeSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

class KeyframeSelector extends Selector
{

//Regexes for specificity calculations

const SELECTOR_VALIDATION_RX = '/
Expand Down
1 change: 0 additions & 1 deletion src/Property/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/
class Selector
{

//Regexes for specificity calculations
const NON_ID_ATTRIBUTES_AND_PSEUDO_CLASSES_RX = '/
(\.[\w]+) # classes
Expand Down
1 change: 0 additions & 1 deletion src/Rule/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
class Rule implements Renderable, Commentable
{

private $sRule;

private $mValue;
Expand Down
4 changes: 2 additions & 2 deletions src/RuleSet/RuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
abstract class RuleSet implements Renderable, Commentable
{

private $aRules;

protected $iLineNo;
Expand Down Expand Up @@ -128,7 +127,8 @@ public function getRules($mRule = null)
// or the search rule ends in “-” and the found rule starts with the search rule.
if (
!$mRule || $sName === $mRule
|| (strrpos($mRule, '-') === strlen($mRule) - strlen('-')
|| (
strrpos($mRule, '-') === strlen($mRule) - strlen('-')
&& (strpos($sName, $mRule) === 0 || $sName === substr($mRule, 0, -1))
)
) {
Expand Down
1 change: 0 additions & 1 deletion src/Value/CSSFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

class CSSFunction extends ValueList
{

protected $sName;

/**
Expand Down
1 change: 0 additions & 1 deletion src/Value/CSSString.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class CSSString extends PrimitiveValue
{

private $sString;

public function __construct($sString, $iLineNo = 0)
Expand Down
1 change: 0 additions & 1 deletion src/Value/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class Color extends CSSFunction
{

public function __construct(array $aColor, $iLineNo = 0)
{
parent::__construct(implode('', array_keys($aColor)), $aColor, ',', $iLineNo);
Expand Down
1 change: 0 additions & 1 deletion src/Value/Size.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class Size extends PrimitiveValue
{

/**
* vh/vw/vm(ax)/vmin/rem are absolute insofar as they don’t scale to the immediate parent (only the viewport)
*
Expand Down
1 change: 0 additions & 1 deletion src/Value/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class URL extends PrimitiveValue
{

private $oURL;

public function __construct(CSSString $oURL, $iLineNo = 0)
Expand Down
1 change: 0 additions & 1 deletion src/Value/ValueList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

abstract class ValueList extends Value
{

protected $aComponents;

protected $sSeparator;
Expand Down
1 change: 0 additions & 1 deletion tests/CSSList/AtRuleBlockListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class AtRuleBlockListTest extends \PHPUnit\Framework\TestCase
{

public function testMediaQueries()
{
$sCss = '@media(min-width: 768px){.class{color:red}}';
Expand Down
1 change: 0 additions & 1 deletion tests/CSSList/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class DocumentTest extends \PHPUnit\Framework\TestCase
{

public function testOverrideContents()
{
$sCss = '.thing { left: 10px; }';
Expand Down
1 change: 0 additions & 1 deletion tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

class ParserTest extends \PHPUnit\Framework\TestCase
{

public function testFiles()
{
$sDirectory = __DIR__ . '/fixtures';
Expand Down
1 change: 0 additions & 1 deletion tests/RuleSet/DeclarationBlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class DeclarationBlockTest extends \PHPUnit\Framework\TestCase
{

/**
* @dataProvider expandBorderShorthandProvider
* */
Expand Down
1 change: 0 additions & 1 deletion tests/RuleSet/LenientParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class LenientParsingTest extends \PHPUnit\Framework\TestCase
{

/**
* @expectedException \Sabberworm\CSS\Parsing\UnexpectedTokenException
*/
Expand Down