class/cssParser.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class cssParser
- Exclude checks
The class cssParser is not named in CamelCase. Open
Open
class cssParser
{
public $_css = '';
/**
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The property $_css is not named in camelCase. Open
Open
class cssParser
{
public $_css = '';
/**
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
Property name "$_css" should not be prefixed with an underscore to indicate visibility Open
Open
public $_css = '';
- Exclude checks
Line exceeds 120 characters; contains 152 characters Open
Open
return '#' . (strlen($match[3]) == 3 ? $match[3][0] . $match[3][0] . $match[3][1] . $match[3][1] . $match[3][2] . $match[3][2] : $match[3]);
- Exclude checks
Class name "cssParser" is not in camel caps format Open
Open
class cssParser
- Exclude checks