[YAML] fixed coding standards

This commit is contained in:
Dennis Benkert 2010-01-28 21:56:23 +01:00 committed by Fabien Potencier
parent b0614ef0e1
commit 0893600f0e
2 changed files with 7 additions and 9 deletions

View File

@ -19,13 +19,12 @@ namespace Symfony\Components\YAML;
*/ */
class Parser class Parser
{ {
protected protected $value = '';
$value = '', protected $offset = 0;
$offset = 0, protected $lines = array();
$lines = array(), protected $currentLineNb = -1;
$currentLineNb = -1, protected $currentLine = '';
$currentLine = '', protected $refs = array();
$refs = array();
/** /**
* Constructor * Constructor

View File

@ -19,8 +19,7 @@ namespace Symfony\Components\YAML;
*/ */
class YAML class YAML
{ {
static protected static protected $spec = '1.2';
$spec = '1.2';
/** /**
* Sets the YAML specification version to use. * Sets the YAML specification version to use.