Joris de Wit
6d8c4a82f3
change nested collection indentation from 2 to 4
2011-09-22 14:48:21 -07:00
Fabien Potencier
12a852e18b
[Yaml] made a small optimization
2011-08-22 15:06:47 +02:00
Jeremy Mikola
05cc24ce5b
[Yaml] Wrap numeric strings in quotes when dumping
...
This addresses an obscure case where a hash string (actually a commit-ish, "686e444") was dumped to YAML as an unquoted string value. It was later parsed from YAML as an exponential numeric and changed to ".Inf".
2011-07-13 16:58:57 -04:00
Fabien Potencier
2e1747bf76
added more information about a resource in error and debug messages
2011-06-20 10:16:09 +02: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
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
e1347e788e
[Yaml] tweaked error message
2011-05-14 17:37:28 +02:00
Martin Schuhfuss
571768b9b9
[Yaml] added exceptions when non-utf8 encoding is detected
...
encoding is detected using the `mb_detect_encoding()`-function
in strict-mode. Checking is done before the parsing starts.
Without this patch, the calls to `preg_replace()` using the
'u'-modifier would cause the non-utf8-string being processed
to be empty when parsing starts which makes the parsing return
no result.
2011-05-12 22:02:56 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +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
Matthew Lewinski
ed338d9422
[Yaml] Improved support for double quoted values.
...
Added support for the full range of escaped values in double quoted
strings in chapter 5 of the YAML 1.1 and 1.2 specs. The escaping
and unescaping strategies were factored out into separate classes to
keep the logic isolated.
Added examples from the spec to the unit tests for all escaped values.
2011-03-05 15:39:48 -06:00
Pascal Borreli
5b819261c2
[Yaml] Removed useless else
2011-02-27 18:36:38 +01:00
Jordi Boggiano
3fbe366df2
[Yaml] Fix warning
2011-02-18 12:08:05 +01:00
Fabien Potencier
75238c6817
added the LICENSE file for the YAML component
2011-02-18 11:52:11 +01:00
Hugo Hamon
b5972f3447
[Yaml] fix some php documentation
2011-02-13 17:48:48 +01:00
Xavier Perez
4c65161953
[Yaml] Added PHPDoc on getTimestampRegex()
2011-02-07 16:25:19 +01:00
Lukas Kahwe Smith
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
2011-02-04 19:30:28 +01:00
Ryan Weaver
17f9162b89
[Standards] Changing many instances of "boolean" to "Boolean".
2011-01-21 09:53:24 +01:00
Lukas Kahwe Smith
ddea635a51
fixes else -> } else
2011-01-19 07:20:23 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
6e18a2c529
[Yaml] fixed parsing of simple inline documents
2010-11-29 21:09:02 +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