Vincent

Results 85 comments of Vincent

> Attempted to load class "PropertyInfoPropertyMetadataFactory" from namespace "ApiPlatform\Metadata\Property". > Did you forget a "use" statement for "ApiPlatform\Core\Bridge\Symfony\PropertyInfo\Metadata\Property\PropertyInfoPropertyMetadataFactory"? Replace namespace `ApiPlatform\Metadata\Property` by `ApiPlatform\Metadata\Property\Factory` in PropertyInfoPropertyMetadataFactory.php.

> ApiPlatform\Core\Metadata\Property\Factory\ExtractorPropertyMetadataFactory::__construct(): Argument #1 ($extractor) must be of type ApiPlatform\Core\Metadata\Extractor\ExtractorInterface, ApiPlatform\Core\Metadata\Extractor\XmlExtractor given Create ExtractorInterface.php as following: ```php interface ExtractorInterface extends ResourceExtractorInterface ``` ...and implement it in legacy XmlExtractor and YamlExtractor.

Replace `api_platform.property.metadata_factory` by `api_platform.metadata.property.metadata_factory` in ApiPlatformExtension.php

> ApiPlatform\Core\Metadata\Property\Factory\AnnotationPropertyMetadataFactory::__construct(): Argument #2 ($decorated) must be of type ?ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface, ApiPlatform\Metadata\Property\Factory\PropertyInfoPropertyMetadataFactory given Related service: `api_platform.metadata.property.identifier_metadata_factory.annotation` Replace ApiPlatformExtension.php:852-856 with the following code: ```php $remapDefinitionDecorations = [ 'api_platform.metadata.property.identifier_metadata_factory.xml', 'api_platform.metadata.property.identifier_metadata_factory.yaml', 'api_platform.metadata.property.identifier_metadata_factory.annotation', ]; foreach...

> TypeError: ApiPlatform\Core\Metadata\Property\Factory\AnnotationPropertyMetadataFactory::withDeprecatedAttributes(): Argument #1 ($propertyMetadata) must be of type ApiPlatform\Metadata\ApiProperty, ApiPlatform\Core\Metadata\Property\PropertyMetadata given, called in /home/les-tilleuls/Sites/api-platform/core/src/Core/Metadata/Property/Factory/AnnotationPropertyMetadataFactory.php on line 160

Is this PR still relevant, considering subresources are deprecated on 2.7 and removed on 3.0? @soyuka @PierreThibaudeau

> We already have too much security attributes. I also think those security attributes need a refacto, maybe on 3.1, WDYT @alanpoulain?

There is also a [nginx tcp proxy module](https://github.com/yaoweibin/nginx_tcp_proxy_module) available, don't know which is better but it can be interesting to have a look at this solution too

@gonzalovilaseca Prefer using https://github.com/FriendsOfBehat/SymfonyExtension

Hi @shyim, It seems behat/mink-extension is not maintained anymore (last update: 6 Feb. 2018), friends-of-behat/mink-extension replaces it and supports PHP >= 7 with Symfony 5 compatibility. You should only use...