minor #24701 Config: mark builder property deprecated (bburnichon)

This PR was squashed before being merged into the 3.4 branch (closes #24701).

Discussion
----------

Config: mark builder property deprecated

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

`builder` protected property is not used at all in class. Mark as deprecated to enable removing asap. This is to avoid keeping dead code up to symfony `5.0` and still having this dead code in the `4.4` LTS version

Commits
-------

206fb74 Config: mark builder property deprecated
This commit is contained in:
Nicolas Grekas 2017-10-28 18:10:23 +02:00
commit 7f746bd621
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,11 @@
UPGRADE FROM 3.3 to 3.4
=======================
Config
------
* Using protected builder property of TreeBuilder is deprecated and property will be removed in 4.0.
DependencyInjection
-------------------

View File

@ -22,6 +22,10 @@ class TreeBuilder implements NodeParentInterface
{
protected $tree;
protected $root;
/**
* @deprecated since 3.4. To be removed in 4.0
*/
protected $builder;
/**