Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed CS

  • Loading branch information...
commit 389349c90d9ac4f967ed74634186ce922d68cf93 1 parent d0a98b3
Fabien Potencier fabpot authored
2  CssSelector.php
@@ -42,7 +42,7 @@ class CssSelector
42 42 *
43 43 * @api
44 44 */
45   - static public function toXPath($cssExpr, $prefix = 'descendant-or-self::')
  45 + public static function toXPath($cssExpr, $prefix = 'descendant-or-self::')
46 46 {
47 47 if (is_string($cssExpr)) {
48 48 if (!$cssExpr) {
2  Node/CombinedSelectorNode.php
@@ -23,7 +23,7 @@
23 23 */
24 24 class CombinedSelectorNode implements NodeInterface
25 25 {
26   - static protected $methodMapping = array(
  26 + protected static $methodMapping = array(
27 27 ' ' => 'descendant',
28 28 '>' => 'child',
29 29 '+' => 'direct_adjacent',
2  Node/FunctionNode.php
@@ -24,7 +24,7 @@
24 24 */
25 25 class FunctionNode implements NodeInterface
26 26 {
27   - static protected $unsupported = array('target', 'lang', 'enabled', 'disabled');
  27 + protected static $unsupported = array('target', 'lang', 'enabled', 'disabled');
28 28
29 29 protected $selector;
30 30 protected $type;
4 Node/NodeInterface.php
@@ -26,12 +26,12 @@
26 26 *
27 27 * @return string The string representation
28 28 */
29   - function __toString();
  29 + public function __toString();
30 30
31 31 /**
32 32 * @return XPathExpr The XPath expression
33 33 *
34 34 * @throws ParseException When unknown operator is found
35 35 */
36   - function toXpath();
  36 + public function toXpath();
37 37 }
2  Node/PseudoNode.php
@@ -23,7 +23,7 @@
23 23 */
24 24 class PseudoNode implements NodeInterface
25 25 {
26   - static protected $unsupported = array(
  26 + protected static $unsupported = array(
27 27 'indeterminate', 'first-line', 'first-letter',
28 28 'selection', 'before', 'after', 'link', 'visited',
29 29 'active', 'focus', 'hover',
2  XPathExpr.php
@@ -219,7 +219,7 @@ public function join($combiner, $other)
219 219 *
220 220 * @return string
221 221 */
222   - static public function xpathLiteral($s)
  222 + public static function xpathLiteral($s)
223 223 {
224 224 if ($s instanceof Node\ElementNode) {
225 225 // This is probably a symbol that looks like an expression...

0 comments on commit 389349c

Please sign in to comment.
Something went wrong with that request. Please try again.