diff --git a/UPGRADE-3.3.md b/UPGRADE-3.3.md index 5dcdbf5d82..cce38f4b00 100644 --- a/UPGRADE-3.3.md +++ b/UPGRADE-3.3.md @@ -38,6 +38,9 @@ DependencyInjection * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is deprecated and will not be supported anymore in 4.0. + * Extending the containers generated by `PhpDumper` is deprecated and won't be + supported in 4.0. + * The `DefinitionDecorator` class is deprecated and will be removed in 4.0, use the `ChildDefinition` class instead. @@ -58,7 +61,7 @@ FrameworkBundle * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass` has been deprecated. Use `Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass` instead. * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\SerializerPass` class has been - deprecated and will be removed in 4.0. + deprecated and will be removed in 4.0. Use the `Symfony\Component\Serializer\DependencyInjection\SerializerPass` class instead. * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FormPass` class has been @@ -82,6 +85,9 @@ Process * Configuring Windows and sigchild compatibility is deprecated - they will be always enabled in 4.0. + * Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is + deprecated and won't be supported in 4.0. + Security -------- @@ -100,10 +106,16 @@ SecurityBundle constructor arguments fully provided. Registering by convention the command or commands extending it is deprecated and will not be allowed anymore in 4.0. - - * `UserPasswordEncoderCommand::getContainer()` is deprecated, and this class won't + + * `UserPasswordEncoderCommand::getContainer()` is deprecated, and this class won't extend `ContainerAwareCommand` nor implement `ContainerAwareInterface` anymore in 4.0. +Serializer +---------- + + * Extending `ChainDecoder`, `ChainEncoder`, `ArrayDenormalizer` is deprecated + and won't be supported in 4.0. + TwigBridge ---------- diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index 5dec4ee414..4768ba1242 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -48,6 +48,9 @@ DependencyInjection * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is not supported anymore. + * Extending the containers generated by `PhpDumper` is not supported + anymore. + * The `DefinitionDecorator` class has been removed. Use the `ChildDefinition` class instead. @@ -176,7 +179,7 @@ FrameworkBundle * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass` has been removed. Use `Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass` instead. - * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\SerializerPass` class has been removed. + * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\SerializerPass` class has been removed. Use the `Symfony\Component\Serializer\DependencyInjection\SerializerPass` class instead. * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FormPass` class has been @@ -242,6 +245,9 @@ Process * Configuring Windows and sigchild compatibility is not possible anymore - they are always enabled. + * Extending `Process::run()`, `Process::mustRun()` and `Process::restart()` is + not supported anymore. + Security -------- @@ -259,6 +265,9 @@ Serializer `AbstractNormalizer::instantiateObject()` method when overriding it is not supported anymore. + * Extending `ChainDecoder`, `ChainEncoder`, `ArrayDenormalizer` is not supported + anymore. + Translation ----------- diff --git a/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php b/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php index f7e4aa871e..a059d3c507 100644 --- a/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php +++ b/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php @@ -24,6 +24,8 @@ use Symfony\Component\PropertyInfo\Util\PhpDocTypeHelper; * Extracts data using a PHPDoc parser. * * @author Kévin Dunglas + * + * @final since version 3.3 */ class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface { diff --git a/src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php b/src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php index 96c2e9b48e..39cf11a67b 100644 --- a/src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php +++ b/src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php @@ -21,6 +21,8 @@ use Symfony\Component\PropertyInfo\Type; * Extracts data using the reflection API. * * @author Kévin Dunglas + * + * @final since version 3.3 */ class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface { diff --git a/src/Symfony/Component/PropertyInfo/Extractor/SerializerExtractor.php b/src/Symfony/Component/PropertyInfo/Extractor/SerializerExtractor.php index b7edb8fa24..3042563202 100644 --- a/src/Symfony/Component/PropertyInfo/Extractor/SerializerExtractor.php +++ b/src/Symfony/Component/PropertyInfo/Extractor/SerializerExtractor.php @@ -18,6 +18,8 @@ use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface; * Lists available properties using Symfony Serializer Component metadata. * * @author Kévin Dunglas + * + * @final since version 3.3 */ class SerializerExtractor implements PropertyListExtractorInterface { diff --git a/src/Symfony/Component/PropertyInfo/PropertyInfoCacheExtractor.php b/src/Symfony/Component/PropertyInfo/PropertyInfoCacheExtractor.php index 69ade35dfe..39b03613cf 100644 --- a/src/Symfony/Component/PropertyInfo/PropertyInfoCacheExtractor.php +++ b/src/Symfony/Component/PropertyInfo/PropertyInfoCacheExtractor.php @@ -17,6 +17,8 @@ use Psr\Cache\CacheItemPoolInterface; * Adds a PSR-6 cache layer on top of an extractor. * * @author Kévin Dunglas + * + * @final since version 3.3 */ class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface { diff --git a/src/Symfony/Component/PropertyInfo/PropertyInfoExtractor.php b/src/Symfony/Component/PropertyInfo/PropertyInfoExtractor.php index 031c8ac05e..24942c31f3 100644 --- a/src/Symfony/Component/PropertyInfo/PropertyInfoExtractor.php +++ b/src/Symfony/Component/PropertyInfo/PropertyInfoExtractor.php @@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo; * Default {@see PropertyInfoExtractorInterface} implementation. * * @author Kévin Dunglas + * + * @final since version 3.3 */ class PropertyInfoExtractor implements PropertyInfoExtractorInterface { diff --git a/src/Symfony/Component/PropertyInfo/Type.php b/src/Symfony/Component/PropertyInfo/Type.php index ad21f91724..5d05a48f09 100644 --- a/src/Symfony/Component/PropertyInfo/Type.php +++ b/src/Symfony/Component/PropertyInfo/Type.php @@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo; * Type value object (immutable). * * @author Kévin Dunglas + * + * @final since version 3.3 */ class Type {