soap-client-bundle icon indicating copy to clipboard operation
soap-client-bundle copied to clipboard

ExtensionInterface::load() might add "void" as a native return type declaration in the future

Open Lappihuan opened this issue 2 years ago • 3 comments

Deprecation warning we get on PHP 8.2 and Symfony 6.3

Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Freshcells\SoapClientBundle\DependencyInjection\FreshcellsSoapClientExtension" now to avoid errors or add an explicit @return annotation to suppress this message.

Lappihuan avatar Oct 18 '23 14:10 Lappihuan

there is a second one: Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "Freshcells\SoapClientBundle\DependencyInjection\CompilerPass\ClientCompilerPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Lappihuan avatar Oct 18 '23 14:10 Lappihuan

found two more: Method "Symfony\Contracts\Service\ResetInterface::reset()" might add "void" as a native return type declaration in the future. Do the same in implementation "Freshcells\SoapClientBundle\DataCollector\AbstractSoapDataCollector" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect()" might add "void" as a native return type declaration in the future. Do the same in implementation "Freshcells\SoapClientBundle\DataCollector\SoapDataCollector" now to avoid errors or add an explicit @return annotation to suppress this message.

Lappihuan avatar Oct 18 '23 14:10 Lappihuan

Should be fixed in Release 3.0.0. please confirm and Close ticket

gimler avatar Jun 05 '24 17:06 gimler