BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS Namespace Reference

Classes

class  ClassDefinitionClosingBraceSpaceSniff
 
class  ClassDefinitionNameSpacingSniff
 
class  ClassDefinitionOpeningBraceSpaceSniff
 
class  ColonSpacingSniff
 
class  ColourDefinitionSniff
 
class  DisallowMultipleStyleDefinitionsSniff
 
class  DuplicateClassDefinitionSniff
 
class  DuplicateStyleDefinitionSniff
 
class  EmptyClassDefinitionSniff
 
class  EmptyStyleDefinitionSniff
 
class  ForbiddenStylesSniff
 
class  IndentationSniff
 
class  LowercaseStyleDefinitionSniff
 
class  MissingColonSniff
 
class  NamedColoursSniff
 
class  OpacitySniff
 
class  SemicolonSpacingSniff
 
class  ShorthandSizeSniff
 

Detailed Description

Ensure there is a single blank line after the closing brace of a class definition.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure there are no blank lines between the names of classes/IDs.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure a single space before, and a newline after, the class opening brace

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure there is no space before a colon and one space after it.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure colours are defined in upper-case and use shortcuts where possible.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that each style definition is on a line by itself.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Check for duplicate class definitions that can be merged into one.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Check for duplicate style definitions in the same class.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that class definitions are not empty.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that style definitions are not empty.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Bans the use of some styles, such as deprecated or browser-specific styles.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensures styles are indented 4 spaces.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that all style definitions are in lowercase.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that all style definitions have a colon.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure colour names are not used.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure that opacity values start with a 0 if it is not a whole number.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure each style definition has a semi-colon and it is spaced correctly.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure sizes are defined using shorthand notation where possible.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t