Skip to content

Setup void type for PHP Symfony CompilerpassInterface - #21808

Merged
wing328 merged 1 commit into
OpenAPITools:masterfrom
EliasKotlyar:master
Aug 28, 2025
Merged

wing328 merged 1 commit into
OpenAPITools:masterfrom
EliasKotlyar:master

Conversation

@EliasKotlyar

Copy link
Copy Markdown
Contributor

Using the generator, i receive following error:

1x: Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "xx\xxx\DependencyInjection\Compiler\OpenAPIServerApiPass" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in xxx::setUp from Tests\Application\Connector\xxx

i fixxed this error

-> added void type
@wing328

wing328 commented Aug 27, 2025

Copy link
Copy Markdown
Member

please follow step 3 in the pr checklist to update the samples

@wing328

wing328 commented Aug 28, 2025

Copy link
Copy Markdown
Member

cc
@jebentier (2017/07), @dkarlovi (2017/07), @mandrean (2017/08), @jfastnacht (2017/09), @ybelenko (2018/07), @renepardon (2018/12)

@wing328
wing328 merged commit 992e387 into OpenAPITools:master Aug 28, 2025
4 checks passed
@wing328

wing328 commented Aug 28, 2025

Copy link
Copy Markdown
Member

samples updated via ac5478e

thanks for the contribution

@wing328 wing328 added this to the 7.16.0 milestone Aug 28, 2025
goopher pushed a commit to goopher/openapi-generator that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants