Skip to content

Various return types and values consolidation - #19418

Merged
Girgias merged 1 commit into
php:masterfrom
alexandre-daubois:cons-return-type-val
Aug 12, 2025
Merged

Various return types and values consolidation#19418
Girgias merged 1 commit into
php:masterfrom
alexandre-daubois:cons-return-type-val

Conversation

@alexandre-daubois

Copy link
Copy Markdown
Member

No description provided.

Comment threadext/standard/image.c Outdated
Comment on lines 1207 to 1216

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove the {{{ marker all together if touching the function, and you can simplify this by just doing:

returnAvifInfoIdentifyStream(&avif_stream, php_avif_stream_read, php_avif_stream_skip) ==kAvifInfoOk;

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes of course 👍

@Girgias
Girgias merged commit dfa1307 into php:masterAug 12, 2025
9 checks passed
@TimWolla

Copy link
Copy Markdown
Member

Probably makes sense to fix this in bulk with Coccinelle. See torvalds/linux@46b5c9b as an example.

@alexandre-daubois

Copy link
Copy Markdown
MemberAuthor

Having a look. Thanks!

Sign up for freeto 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.

3 participants

@alexandre-daubois@TimWolla@Girgias