461 lines
13 KiB
YAML
461 lines
13 KiB
YAML
|
name: PropertyNormalizerTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: PhpDocExtractor
|
||
|
type: class
|
||
|
source: Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor
|
||
|
- name: ReflectionExtractor
|
||
|
type: class
|
||
|
source: Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor
|
||
|
- name: PropertyInfoExtractor
|
||
|
type: class
|
||
|
source: Symfony\Component\PropertyInfo\PropertyInfoExtractor
|
||
|
- name: DiscriminatorMap
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Attribute\DiscriminatorMap
|
||
|
- name: LogicException
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Exception\LogicException
|
||
|
- name: ClassDiscriminatorFromClassMetadata
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Mapping\ClassDiscriminatorFromClassMetadata
|
||
|
- name: ClassMetadataFactory
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory
|
||
|
- name: AttributeLoader
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Mapping\Loader\AttributeLoader
|
||
|
- name: CamelCaseToSnakeCaseNameConverter
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter
|
||
|
- name: MetadataAwareNameConverter
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter
|
||
|
- name: AbstractObjectNormalizer
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer
|
||
|
- name: ArrayDenormalizer
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Normalizer\ArrayDenormalizer
|
||
|
- name: DenormalizerInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Normalizer\DenormalizerInterface
|
||
|
- name: PropertyNormalizer
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Normalizer\PropertyNormalizer
|
||
|
- name: Serializer
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Serializer
|
||
|
- name: SerializerInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\SerializerInterface
|
||
|
- name: GroupDummy
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummy
|
||
|
- name: GroupDummyChild
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummyChild
|
||
|
- name: Dummy
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\Dummy
|
||
|
- name: Php74Dummy
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\Php74Dummy
|
||
|
- name: PropertyCircularReferenceDummy
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\PropertyCircularReferenceDummy
|
||
|
- name: PropertySiblingHolder
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Fixtures\PropertySiblingHolder
|
||
|
- name: CacheableObjectAttributesTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\CacheableObjectAttributesTestTrait
|
||
|
- name: CallbacksTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\CallbacksTestTrait
|
||
|
- name: CircularReferenceTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\CircularReferenceTestTrait
|
||
|
- name: ConstructorArgumentsTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\ConstructorArgumentsTestTrait
|
||
|
- name: FilterBoolTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\FilterBoolTestTrait
|
||
|
- name: GroupsTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\GroupsTestTrait
|
||
|
- name: IgnoredAttributesTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\IgnoredAttributesTestTrait
|
||
|
- name: MaxDepthTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\MaxDepthTestTrait
|
||
|
- name: ObjectToPopulateTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\ObjectToPopulateTestTrait
|
||
|
- name: SkipUninitializedValuesTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\SkipUninitializedValuesTestTrait
|
||
|
- name: TypedPropertiesObject
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\TypedPropertiesObject
|
||
|
- name: TypeEnforcementTestTrait
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Tests\Normalizer\Features\TypeEnforcementTestTrait
|
||
|
- name: CacheableObjectAttributesTestTrait
|
||
|
type: class
|
||
|
source: CacheableObjectAttributesTestTrait
|
||
|
- name: CallbacksTestTrait
|
||
|
type: class
|
||
|
source: CallbacksTestTrait
|
||
|
- name: CircularReferenceTestTrait
|
||
|
type: class
|
||
|
source: CircularReferenceTestTrait
|
||
|
- name: ConstructorArgumentsTestTrait
|
||
|
type: class
|
||
|
source: ConstructorArgumentsTestTrait
|
||
|
- name: FilterBoolTestTrait
|
||
|
type: class
|
||
|
source: FilterBoolTestTrait
|
||
|
- name: GroupsTestTrait
|
||
|
type: class
|
||
|
source: GroupsTestTrait
|
||
|
- name: IgnoredAttributesTestTrait
|
||
|
type: class
|
||
|
source: IgnoredAttributesTestTrait
|
||
|
- name: MaxDepthTestTrait
|
||
|
type: class
|
||
|
source: MaxDepthTestTrait
|
||
|
- name: ObjectToPopulateTestTrait
|
||
|
type: class
|
||
|
source: ObjectToPopulateTestTrait
|
||
|
- name: SkipUninitializedValuesTestTrait
|
||
|
type: class
|
||
|
source: SkipUninitializedValuesTestTrait
|
||
|
- name: TypeEnforcementTestTrait
|
||
|
type: class
|
||
|
source: TypeEnforcementTestTrait
|
||
|
properties:
|
||
|
- name: outOfScope
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: foo
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: bar
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: camelCase
|
||
|
visibility: protected
|
||
|
comment: null
|
||
|
- name: foo
|
||
|
visibility: protected
|
||
|
comment: null
|
||
|
- name: bar
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: property
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: foo
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: children
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: grandChildren
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: intMatrix
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: url
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
- name: url
|
||
|
visibility: public
|
||
|
comment: null
|
||
|
methods:
|
||
|
- name: setUp
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createNormalizer
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: defaultContext
|
||
|
default: '[]'
|
||
|
comment: null
|
||
|
- name: testNormalize
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeObjectWithUninitializedProperties
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeObjectWithUnsetProperties
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeObjectWithLazyProperties
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeOnlyPublic
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeOnlyProtected
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeOnlyPrivate
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizePublicAndProtected
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDenormalize
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeWithParentClass
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDenormalizeWithParentClass
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testConstructorDenormalize
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testConstructorDenormalizeWithNullArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForCallbacks
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForCallbacksWithPropertyTypeExtractor
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForCircularReference
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: defaultContext
|
||
|
comment: null
|
||
|
- name: getSelfReferencingModel
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForFilterBool
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSiblingReference
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getDenormalizerForConstructArguments
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForGroups
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getDenormalizerForGroups
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGroupsNormalizeWithNameConverter
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGroupsDenormalizeWithNameConverter
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getDenormalizerForIgnoredAttributes
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForIgnoredAttributes
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testIgnoredAttributesContextDenormalizeInherit
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForMaxDepth
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getDenormalizerForObjectToPopulate
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getDenormalizerForTypeEnforcement
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDenormalizeNonExistingAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDenormalizeShouldIgnoreStaticProperty
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testUnableToNormalizeObjectAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNoTraversableSupport
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNoStaticPropertySupport
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInheritedPropertiesSupport
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMultiDimensionObject
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getObjectCollectionWithExpectedArray
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForCacheableObjectAttributesTest
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getNormalizerForSkipUninitializedValues
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNormalizeWithDiscriminator
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDenormalizeWithDiscriminator
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getBar
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: setBar
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: bar
|
||
|
comment: null
|
||
|
- name: getCamelCase
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: setCamelCase
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: camelCase
|
||
|
comment: null
|
||
|
- name: __get
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: name
|
||
|
comment: null
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: foo
|
||
|
- name: bar
|
||
|
comment: null
|
||
|
- name: getFoo
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getBar
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getChildren
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return Dummy[][]'
|
||
|
- name: getGrandChildren
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return Dummy[][][]'
|
||
|
- name: getIntMatrix
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor
|
||
|
- Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor
|
||
|
- Symfony\Component\PropertyInfo\PropertyInfoExtractor
|
||
|
- Symfony\Component\Serializer\Attribute\DiscriminatorMap
|
||
|
- Symfony\Component\Serializer\Exception\LogicException
|
||
|
- Symfony\Component\Serializer\Mapping\ClassDiscriminatorFromClassMetadata
|
||
|
- Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory
|
||
|
- Symfony\Component\Serializer\Mapping\Loader\AttributeLoader
|
||
|
- Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter
|
||
|
- Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter
|
||
|
- Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer
|
||
|
- Symfony\Component\Serializer\Normalizer\ArrayDenormalizer
|
||
|
- Symfony\Component\Serializer\Normalizer\DenormalizerInterface
|
||
|
- Symfony\Component\Serializer\Normalizer\PropertyNormalizer
|
||
|
- Symfony\Component\Serializer\Serializer
|
||
|
- Symfony\Component\Serializer\SerializerInterface
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummy
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\GroupDummyChild
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\Dummy
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\Php74Dummy
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\PropertyCircularReferenceDummy
|
||
|
- Symfony\Component\Serializer\Tests\Fixtures\PropertySiblingHolder
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\CacheableObjectAttributesTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\CallbacksTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\CircularReferenceTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\ConstructorArgumentsTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\FilterBoolTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\GroupsTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\IgnoredAttributesTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\MaxDepthTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\ObjectToPopulateTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\SkipUninitializedValuesTestTrait
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\TypedPropertiesObject
|
||
|
- Symfony\Component\Serializer\Tests\Normalizer\Features\TypeEnforcementTestTrait
|
||
|
- CacheableObjectAttributesTestTrait
|
||
|
- CallbacksTestTrait
|
||
|
- CircularReferenceTestTrait
|
||
|
- ConstructorArgumentsTestTrait
|
||
|
- FilterBoolTestTrait
|
||
|
- GroupsTestTrait
|
||
|
- IgnoredAttributesTestTrait
|
||
|
- MaxDepthTestTrait
|
||
|
- ObjectToPopulateTestTrait
|
||
|
- SkipUninitializedValuesTestTrait
|
||
|
- TypeEnforcementTestTrait
|
||
|
interfaces:
|
||
|
- PropertyDummyInterface
|
||
|
- PropertyDummyInterface
|