Zero length character-limited types #90

Open
opened 2026-10-20 19:30:38 +02:00 by c.fahner · 0 comments
Owner

Currently it is disallowed by PHP-doc types to express zero-length character-limited types, since the CharacterLimited interface defines the character limit as int<1,max>.

Since there are valid use-cases for having columns that can only have an empty string or NULL, this type should be changed to int<0,max>.

Currently it is disallowed by PHP-doc types to express zero-length character-limited types, since the `CharacterLimited` interface defines the character limit as `int<1,max>`. Since there are valid use-cases for having columns that can only have an empty string or `NULL`, this type should be changed to `int<0,max>`.
c.fahner added this to the v0.3 milestone 2026-10-20 19:30:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd#90
No description provided.