[PropertyInfo] Make classes final
This commit is contained in:
parent
d47571f5ec
commit
313fec952f
@ -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
|
||||
----------
|
||||
|
||||
|
@ -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
|
||||
-----------
|
||||
|
||||
|
@ -24,6 +24,8 @@ use Symfony\Component\PropertyInfo\Util\PhpDocTypeHelper;
|
||||
* Extracts data using a PHPDoc parser.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
* Extracts data using the reflection API.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface;
|
||||
* Lists available properties using Symfony Serializer Component metadata.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class SerializerExtractor implements PropertyListExtractorInterface
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Psr\Cache\CacheItemPoolInterface;
|
||||
* Adds a PSR-6 cache layer on top of an extractor.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo;
|
||||
* Default {@see PropertyInfoExtractorInterface} implementation.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class PropertyInfoExtractor implements PropertyInfoExtractorInterface
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo;
|
||||
* Type value object (immutable).
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*
|
||||
* @final since version 3.3
|
||||
*/
|
||||
class Type
|
||||
{
|
||||
|
Reference in New Issue
Block a user