Nicolas Grekas
bb84872e6d
Merge branch '3.2' into 3.3
...
* 3.2:
typo
[Console] Fix tests
[Console] Fixed different behaviour of key and value user inputs in multiple choice question
[Cache] Dont use pipelining with RedisCluster
[Yaml] fix colon without space deprecation
[Intl] Fix intl tests for PHP < 5.5.10
2017-05-28 12:56:20 +02:00
Christian Flothmann
57f6941e25
[Yaml] fix colon without space deprecation
...
A colon after a mapping key that is not followed by a space is valid if
the mapping key is quoted.
2017-05-21 14:39:29 +02:00
Nicolas Grekas
46fc0b9363
Merge branch '3.2'
...
* 3.2:
add changelog for the DUMP_OBJECT_AS_MAP flag
Relax some mocks
2017-04-12 22:43:31 +02:00
Christian Flothmann
8fd3602d83
add changelog for the DUMP_OBJECT_AS_MAP flag
2017-04-12 21:06:01 +02:00
Christian Flothmann
731a74e79c
[Yaml] deprecate "? " starting unquoted strings
2017-03-20 10:21:06 +01:00
Christian Flothmann
3c5d9155d4
deprecate implicit string casting of mapping keys
2017-03-06 20:18:14 +01:00
Christian Flothmann
c473504a95
parse omitted inlined mapping values as null
2017-03-01 16:35:56 +01:00
Fabien Potencier
cf91b0af22
feature #21471 [Yaml] Allow dumping empty array as YAML sequence (c960657)
...
This PR was squashed before being merged into the 3.3-dev branch (closes #21471 ).
Discussion
----------
[Yaml] Allow dumping empty array as YAML sequence
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #9870 , #15937 , #16266
| License | MIT
| Doc PR |
PHP arrays are dumped as either YAML sequences or mappings, depending on whether the array has continuos integer keys or not.
An empty array is always dumped as a YAML mapping. Sometimes you want it dumped as a YAML sequence instead.
Commits
-------
87ffaf2b77
Bump version number
af7067c3cf
Dump empty object as mapping
a6d94c1b53
[Yaml] Allow dumping empty array as YAML sequence
2017-02-19 15:22:09 -08:00
Christian Schmidt
87ffaf2b77
Bump version number
2017-02-17 19:13:16 +01:00
Christian Flothmann
c02dca3483
[Yaml] deprecate parsing mappings without keys
2017-02-17 16:52:41 +01:00
Christian Schmidt
a6d94c1b53
[Yaml] Allow dumping empty array as YAML sequence
2017-01-31 12:07:40 +01:00
Fabien Potencier
8ee21c723b
minor #19758 [Yaml] improve deprecation message and changelog (xabbuh)
...
This PR was merged into the 3.2-dev branch.
Discussion
----------
[Yaml] improve deprecation message and changelog
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
a7128f8
[Yaml] improve deprecation message and changelog
2016-08-27 09:28:58 -07:00
Christian Flothmann
e28825656b
[Yaml] improve changelog and upgrade entries
2016-08-27 13:07:10 +02:00
Christian Flothmann
a7128f8c96
[Yaml] improve deprecation message and changelog
2016-08-27 12:43:03 +02:00
Fabien Potencier
f208ac8a69
minor #19538 [Yaml] update changelog and upgrade files (xabbuh)
...
This PR was merged into the 3.2-dev branch.
Discussion
----------
[Yaml] update changelog and upgrade files
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #19504
| License | MIT
| Doc PR |
Commits
-------
3cd2932
[Yaml] update changelog and upgrade files
2016-08-13 11:49:42 -07:00
Alex Pott
cb362f284f
Add Yaml::PARSE_EXCEPTION_ON_DUPLICATE to throw exceptions on duplicates
2016-08-09 06:44:52 -07:00
Christian Flothmann
3cd293280d
[Yaml] update changelog and upgrade files
2016-08-05 00:00:11 +02:00
Jules Pietri
02d1dea33b
[Yaml] added support for parsing PHP constants
2016-06-23 15:44:47 +02:00
Christian Flothmann
86e4a6f3de
dump non UTF-8 encoded strings as binary data
2016-03-30 16:37:12 +02:00
Christian Flothmann
eff69028e7
option to dump multi line strings as scalar blocks
2016-03-01 18:09:14 +01:00
Christian Flothmann
79a63d50a1
[Yaml] add support for the !!binary tag
2016-02-27 17:28:09 +01:00
Christian Flothmann
7e1c6c4871
[Yaml] support to parse and dump DateTime objects
2016-02-18 11:31:35 +01:00
Christian Flothmann
e883a4c717
deprecate starting plain scalars with % characters
2016-02-18 10:35:38 +01:00
Christian Flothmann
e572a641b0
dumper flag to enable exceptions on invalid types
2016-02-09 21:51:36 +01:00
Christian Flothmann
12c88dde0a
[Yaml] fix typos in changelog and upgrade files
2016-02-09 21:02:42 +01:00
Christian Flothmann
9cb85522eb
introduce flags to customize the parser behavior
2016-02-09 16:51:17 +01:00
Christian Flothmann
286103b225
[Yaml] dump customization option with dumper flags
2016-02-02 22:48:04 +01:00
Fabien Potencier
7ba5f7acb3
Merge branch '2.8'
...
* 2.8:
[HttpKernel] clearstatcache() so the Cache sees when a .lck file has been released
[WIP] [Form] [TwigBridge] Bootstrap horizontal theme missing tests
[Serializer] Improve ObjectNormalizer performance
AssetBundle - fix docs
[Yaml] more fixes to changelog and upgrade files
CS: remove impossible default argument value
2015-11-28 12:03:53 +01:00
Christian Flothmann
273ed25573
[Yaml] more fixes to changelog and upgrade files
2015-11-27 22:31:42 +01:00
Nicolas Grekas
5183c881d0
Merge branch '2.8'
...
* 2.8:
Always enable clock-mock for HttpFoundation
[ClassLoader] Fix parsing namespace when token_get_all() is missing
Bug #16343 [Router] Too many Routes ?
Fixes the stack traces of the deprecation logs
fix unused variable warning
[Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false
add composer exclude-from-classmap for new 2.8 components
[Yaml] sync changelog and upgrade files
[Debug] Ensure class declarations are loaded only once
Minor design tweaks for the Logs and Doctrine profiler panels
Conflicts:
UPGRADE-2.8.md
2015-11-26 08:02:09 +01:00
Christian Flothmann
062d707820
[Yaml] sync changelog and upgrade files
2015-11-24 22:06:14 +01:00
Tobias Schultze
d0acda84f2
Merge branch '2.8'
...
Conflicts:
CHANGELOG-2.3.md
CHANGELOG-2.7.md
composer.json
src/Symfony/Bridge/Twig/composer.json
src/Symfony/Bundle/FrameworkBundle/composer.json
src/Symfony/Bundle/SecurityBundle/composer.json
src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php
src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php
src/Symfony/Component/Console/composer.json
src/Symfony/Component/DomCrawler/composer.json
src/Symfony/Component/Form/Tests/FormRegistryTest.php
src/Symfony/Component/Form/composer.json
src/Symfony/Component/HttpFoundation/composer.json
src/Symfony/Component/HttpKernel/Tests/Profiler/MongoDbProfilerStorageTest.php
src/Symfony/Component/Intl/composer.json
src/Symfony/Component/Ldap/composer.json
src/Symfony/Component/Security/Core/composer.json
src/Symfony/Component/Security/Csrf/composer.json
src/Symfony/Component/Security/Http/composer.json
src/Symfony/Component/Security/composer.json
src/Symfony/Component/Serializer/Encoder/JsonEncoder.php
src/Symfony/Component/Serializer/composer.json
src/Symfony/Component/Templating/PhpEngine.php
src/Symfony/Component/Translation/composer.json
src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
src/Symfony/Component/VarDumper/composer.json
2015-10-29 13:12:54 +01:00
Christian Flothmann
a613b0d02e
[Yaml] escape backtick in markdown changelog
2015-10-28 22:33:57 +01:00
Fabien Potencier
7fee29fe6d
[Yaml] deprecated usage of @ and ` at the beginning of an unquoted string
2015-10-27 21:32:32 -07:00
Fabien Potencier
5dbf6bc9b5
[Yaml] removed parsing of non-escaped backslash in a double-quoted string
2015-10-12 13:09:16 +02:00
Fabien Potencier
e599a72fc7
[Yaml] deprecated non-escaped \ in double-quoted strings when parsing
2015-10-12 12:20:37 +02:00
Fabien Potencier
21e44a0335
[Yaml] added CHANGELOG
2012-04-26 19:44:03 +02:00