diff --git a/UPGRADE-3.3.md b/UPGRADE-3.3.md index c068b378f5..3fd31e5799 100644 --- a/UPGRADE-3.3.md +++ b/UPGRADE-3.3.md @@ -82,6 +82,8 @@ DependencyInjection * Autowiring services based on the types they implement is deprecated and won't be supported in version 4.0. Rename (or alias) your services to their FQCN id to make them autowirable. + * [BC BREAK] The `NullDumper` class has been made final + * [BC BREAK] `_defaults` and `_instanceof` are now reserved service names in Yaml configurations. Please rename any services with that names. * [BC BREAK] non-numeric keys in methods and constructors arguments have never been supported and are now forbidden. Please remove them if you happen to have one. @@ -301,6 +303,11 @@ Process * Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is deprecated and won't be supported in 4.0. +ProxyManager +------------ + + * [BC BREAK] The `ProxyDumper` class has been made final + Security -------- diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index 1191c074ae..566231d6ff 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -424,6 +424,11 @@ Process * Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is not supported anymore. +ProxyManager +------------ + + * The `ProxyDumper` class has been made final + Security -------- diff --git a/src/Symfony/Bridge/ProxyManager/CHANGELOG.md b/src/Symfony/Bridge/ProxyManager/CHANGELOG.md index 1f8f60c48b..56c8b20e28 100644 --- a/src/Symfony/Bridge/ProxyManager/CHANGELOG.md +++ b/src/Symfony/Bridge/ProxyManager/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +3.3.0 +----- + + * [BC BREAK] The `ProxyDumper` class is now final + 2.3.0 ----- diff --git a/src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php b/src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php index 447549b970..b91bfeb922 100644 --- a/src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php +++ b/src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php @@ -22,6 +22,8 @@ use Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface; * Generates dumped PHP code of proxies via reflection. * * @author Marco Pivetta + * + * @final since version 3.3 */ class ProxyDumper implements DumperInterface { @@ -63,7 +65,7 @@ class ProxyDumper implements DumperInterface /** * {@inheritdoc} */ - public function getProxyFactoryCode(Definition $definition, $id) + public function getProxyFactoryCode(Definition $definition, $id, $methodName = null) { $instantiation = 'return'; diff --git a/src/Symfony/Component/DependencyInjection/CHANGELOG.md b/src/Symfony/Component/DependencyInjection/CHANGELOG.md index a85de7dff8..b591c5958d 100644 --- a/src/Symfony/Component/DependencyInjection/CHANGELOG.md +++ b/src/Symfony/Component/DependencyInjection/CHANGELOG.md @@ -28,6 +28,7 @@ CHANGELOG will not be supported anymore in 4.0 * deprecated the `DefinitionDecorator` class in favor of `ChildDefinition` * allow config files to be loaded using a glob pattern + * [BC BREAK] the `NullDumper` class is now final 3.2.0 -----