sun
5be7237b69
Added Yaml\Dumper::setIndentation() method to allow a custom indentation level of nested nodes.
...
YAML does not specify an absolute indentation level, but a consistent indentation of nested nodes only: http://www.yaml.org/spec/1.2/spec.html#space/indentation/
Projects that are generally using 2 spaces for indentation should be able to retain consistency with their coding standards by supplying a custom value for the new $indent parameter added to Yaml::dump(), or the new Dumper::setIndentation() method.
The new parameter is a backwards-compatible API addition and defaults to the previous default of 4 (which was changed from 2 via PR #2242 only recently).
2012-08-05 08:07:18 +02:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Markus Lanthaler
0ccb6fa48d
[Yaml] fixed phpdoc ( closes symfony/Yaml#3 )
2012-04-05 15:34:56 +02:00
Fabien Potencier
5fa0f2d92b
merged 2.0
2012-01-16 07:44:08 +01:00
Maksim Kotlyar
7961014140
[Yaml][Parser] changes according review
2012-01-13 17:48:38 +02:00
Maksim Kotlyar
efce640a5e
[Yaml][Parser] throw an exception if not readable
2012-01-13 10:48:50 +02:00
Fabien Potencier
6d324a6ba0
[Yaml] Yaml::parse() does not evaluate loaded files as PHP files by default anymore
...
This has been done to avoid security issues.
To get back the old behavior, call Yaml::enablePhpParsing() first.
2011-11-07 16:43:15 +01:00
Fabien Potencier
06614cd6ca
[Yaml] moved exceptions to their own sub-namespace (added a specific exception for the dump)
2011-06-14 16:25:26 +02:00
Fabien Potencier
a9dab719df
[Yaml] removed support for YAML 1.1 spec
2011-06-14 16:25:25 +02:00
Fabien Potencier
3859589daa
[Yaml] renamed load() to parse()
2011-06-14 16:25:25 +02:00
Fabien Potencier
a232c148eb
fixed CS
2011-06-14 12:54:32 +02:00
Fabien Potencier
e0469d398d
[Yaml] tagged the guaranteed BC API
2011-03-24 09:02:09 +01:00
Fabien Potencier
94c445957c
[Yaml] moved most protected methods and properties to private
2011-03-08 20:33:19 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Lenar Lõhmus
c6bbecf0bb
Check if config/template file is actually readable before further processing
2011-03-06 10:46:39 +01:00
Hugo Hamon
b5972f3447
[Yaml] fix some php documentation
2011-02-13 17:48:48 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
ec8500bd64
[FrameworkBundle] added support for previous exceptions in the exception pages
2010-08-24 14:01:57 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00