This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier a96308f0ba feature #30504 [DI] replace "nullable" env processor by improving the "default" one (nicolas-grekas)
This PR was merged into the 4.3-dev branch.

Discussion
----------

[DI] replace "nullable" env processor by improving the "default" one

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Neither `nullable` nor `default` are released yet.
I propose to replace the `nullable` processor (see #29767) with an improved `default` one (from #28976).
`%env(default::FOO)%` now defaults to `null` when the env var doesn't exist or compares to false".

ping @jderusse @bpolaszek

Commits
-------

c50aad2be1 [DI] replace "nullable" env processor by improving the "default" one
2019-03-10 20:40:48 +01:00
..
Asset Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
BrowserKit Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Cache Drop more usages of Serializable 2019-03-04 09:45:35 +01:00
Config Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Console Merge branch '4.2' 2019-02-23 16:22:31 +01:00
CssSelector Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Debug Merge branch '4.2' 2019-03-10 18:10:06 +01:00
DependencyInjection [DI] replace "nullable" env processor by improving the "default" one 2019-03-10 18:21:18 +01:00
DomCrawler Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Dotenv Merge branch '4.2' 2019-01-24 22:40:22 +01:00
EventDispatcher Merge branch '4.2' 2019-02-23 16:22:31 +01:00
ExpressionLanguage Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Filesystem fixed CS 2019-03-04 10:20:13 +01:00
Finder Merge branch '4.2' 2019-02-23 16:42:19 +01:00
Form Merge branch '4.2' 2019-03-10 11:16:53 +01:00
HttpClient [HttpClient] add ResponseInterface::toArray() 2019-03-09 17:49:48 +01:00
HttpFoundation Merge branch '4.2' 2019-02-26 09:35:29 +01:00
HttpKernel Merge branch '4.2' 2019-03-10 11:14:34 +01:00
Inflector Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Intl Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Ldap fixed CS 2019-01-16 22:53:45 +01:00
Lock Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Messenger Merge branch '4.2' 2019-03-10 11:14:34 +01:00
Mime [Mime] fixed wrong logic 2019-03-09 17:40:15 +01:00
OptionsResolver Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Process Merge branch '4.2' 2019-01-24 23:35:38 +01:00
PropertyAccess Merge branch '4.2' 2019-03-04 10:16:46 +01:00
PropertyInfo Merge branch '4.2' 2019-03-10 11:14:34 +01:00
Routing [FrameworkBundle] Fix UrlGenerator::generate to return an empty string instead of null 2019-03-04 21:07:39 +01:00
Security fixed CS 2019-03-04 10:20:13 +01:00
Serializer Merge branch '4.2' 2019-03-04 12:23:10 +01:00
Stopwatch Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Templating Merge branch '4.2' 2019-02-23 16:22:31 +01:00
Translation [Translation] Add XLIFF 1 source to metadata to differentiate from attr 2019-03-07 09:54:57 +01:00
Validator Merge branch '4.2' 2019-03-10 11:16:53 +01:00
VarDumper [HttpClient] introduce the component 2019-03-07 17:16:39 +01:00
VarExporter Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
WebLink Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
Workflow [Workflow] Added a context to Workflow::apply() 2019-03-06 19:14:46 +01:00
Yaml Merge branch '4.2' 2019-02-23 16:22:31 +01:00