[PropertyInfo] Make classes final

This commit is contained in:
Guilhem N 2017-02-17 19:49:55 +01:00 committed by Nicolas Grekas
parent d47571f5ec
commit 313fec952f
8 changed files with 37 additions and 4 deletions

View File

@ -38,6 +38,9 @@ DependencyInjection
* Using the `PhpDumper` with an uncompiled `ContainerBuilder` is deprecated and * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is deprecated and
will not be supported anymore in 4.0. 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 `DefinitionDecorator` class is deprecated and will be removed in 4.0, use
the `ChildDefinition` class instead. the `ChildDefinition` class instead.
@ -82,6 +85,9 @@ Process
* Configuring Windows and sigchild compatibility is deprecated - they will be always enabled in 4.0. * 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 Security
-------- --------
@ -104,6 +110,12 @@ SecurityBundle
* `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. 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 TwigBridge
---------- ----------

View File

@ -48,6 +48,9 @@ DependencyInjection
* Using the `PhpDumper` with an uncompiled `ContainerBuilder` is not supported * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is not supported
anymore. anymore.
* Extending the containers generated by `PhpDumper` is not supported
anymore.
* The `DefinitionDecorator` class has been removed. Use the `ChildDefinition` * The `DefinitionDecorator` class has been removed. Use the `ChildDefinition`
class instead. class instead.
@ -242,6 +245,9 @@ Process
* Configuring Windows and sigchild compatibility is not possible anymore - they are always enabled. * 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 Security
-------- --------
@ -259,6 +265,9 @@ Serializer
`AbstractNormalizer::instantiateObject()` method when overriding it is not `AbstractNormalizer::instantiateObject()` method when overriding it is not
supported anymore. supported anymore.
* Extending `ChainDecoder`, `ChainEncoder`, `ArrayDenormalizer` is not supported
anymore.
Translation Translation
----------- -----------

View File

@ -24,6 +24,8 @@ use Symfony\Component\PropertyInfo\Util\PhpDocTypeHelper;
* Extracts data using a PHPDoc parser. * Extracts data using a PHPDoc parser.
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface
{ {

View File

@ -21,6 +21,8 @@ use Symfony\Component\PropertyInfo\Type;
* Extracts data using the reflection API. * Extracts data using the reflection API.
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface
{ {

View File

@ -18,6 +18,8 @@ use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface;
* Lists available properties using Symfony Serializer Component metadata. * Lists available properties using Symfony Serializer Component metadata.
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class SerializerExtractor implements PropertyListExtractorInterface class SerializerExtractor implements PropertyListExtractorInterface
{ {

View File

@ -17,6 +17,8 @@ use Psr\Cache\CacheItemPoolInterface;
* Adds a PSR-6 cache layer on top of an extractor. * Adds a PSR-6 cache layer on top of an extractor.
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface
{ {

View File

@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo;
* Default {@see PropertyInfoExtractorInterface} implementation. * Default {@see PropertyInfoExtractorInterface} implementation.
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class PropertyInfoExtractor implements PropertyInfoExtractorInterface class PropertyInfoExtractor implements PropertyInfoExtractorInterface
{ {

View File

@ -15,6 +15,8 @@ namespace Symfony\Component\PropertyInfo;
* Type value object (immutable). * Type value object (immutable).
* *
* @author Kévin Dunglas <dunglas@gmail.com> * @author Kévin Dunglas <dunglas@gmail.com>
*
* @final since version 3.3
*/ */
class Type class Type
{ {