Skip to content

Fix php linting, integer -> int#290

Merged
jcupitt merged 2 commits into
libvips:masterfrom
manstie:patch-1
Jul 13, 2026
Merged

Fix php linting, integer -> int#290
jcupitt merged 2 commits into
libvips:masterfrom
manstie:patch-1

Conversation

@manstie

@manstie manstie commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

My linter gives me Argument '1' passed to black() is expected to be of type Jcupitt\Vips\integer, int given.

manstie added 2 commits July 13, 2026 11:59
Updated PHP type mappings for GValue types to use 'int' instead of 'integer'.
@jcupitt jcupitt merged commit e1a30b6 into libvips:master Jul 13, 2026
6 checks passed
@jcupitt

jcupitt commented Jul 13, 2026

Copy link
Copy Markdown
Member

Hi @manstie, thanks for this.

I did a little reading and it seems the long form of these names (int, integer, bool, boolean) is being phased out, and the short form has always been supported. You're right, this should be just int.

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