Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add void return signatures to remove deprecation notices #580

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Add void return signatures to remove deprecation notices #580

merged 1 commit into from
Sep 26, 2023

Conversation

delboy1978uk
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License Apache2

Description

This PR gets rid of the following deprecation notices:

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

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "JMS\TranslationBundle\DependencyInjection\Compiler\IntegrationPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "JMS\TranslationBundle\DependencyInjection\Compiler\MountFileVisitorsPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "JMS\TranslationBundle\DependencyInjection\Compiler\MountExtractorsPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "JMS\TranslationBundle\DependencyInjection\Compiler\MountLoadersPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "JMS\TranslationBundle\DependencyInjection\Compiler\MountDumpersPass" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\Console\Command\Command::configure()" might add "void" as a native return type declaration in the future. Do the same in child class "JMS\TranslationBundle\Command\ExtractTranslationCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\Console\Command\Command::configure()" might add "void" as a native return type declaration in the future. Do the same in child class "JMS\TranslationBundle\Command\ResourcesListCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "JMS\TranslationBundle\JMSTranslationBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
php

@goetas goetas merged commit 355cf5e into schmittjoh:master Sep 26, 2023
18 of 19 checks passed
@goetas
Copy link
Collaborator

goetas commented Sep 26, 2023

looks good, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants