| @@ 29-35 (lines=7) @@ | ||
| 26 | /** |
|
| 27 | * Set up skip condition. |
|
| 28 | */ |
|
| 29 | public static function setUpBeforeClass() |
|
| 30 | { |
|
| 31 | // When using PHPCS 1.x combined with PHP 5.3 or lower, traits are not recognized. |
|
| 32 | if (version_compare(PHP_CodeSniffer::VERSION, '2.0', '<') && version_compare(phpversion(), '5.4', '<')) { |
|
| 33 | self::$recognizesTraits = false; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| 37 | ||
| 38 | /** |
|
| @@ 29-35 (lines=7) @@ | ||
| 26 | /** |
|
| 27 | * Set up skip condition. |
|
| 28 | */ |
|
| 29 | public static function setUpBeforeClass() |
|
| 30 | { |
|
| 31 | // When using PHPCS 1.x combined with PHP 5.3 or lower, traits are not recognized. |
|
| 32 | if (version_compare(PHP_CodeSniffer::VERSION, '2.0', '<') && version_compare(phpversion(), '5.4', '<')) { |
|
| 33 | self::$recognizesTraits = false; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| 37 | ||
| 38 | /** |
|