Skip to content

Add strict types to GettextTranslator and NoopTranslator#13

Merged
lippserd merged 1 commit intomainfrom
strict-interfaces
Mar 24, 2026
Merged

Add strict types to GettextTranslator and NoopTranslator#13
lippserd merged 1 commit intomainfrom
strict-interfaces

Conversation

@nilmerg
Copy link
Copy Markdown
Member

@nilmerg nilmerg commented Jan 19, 2022

ipl-stdlib introduces strict type declarations, requiring all classes
implementing its interfaces to match the exact parameter and return types
defined there. Updated affected classes accordingly.

⚠️ Requires

@nilmerg nilmerg added the enhancement New feature or request label Jan 19, 2022
@nilmerg nilmerg added this to the v0.2.0 milestone Jan 19, 2022
@nilmerg nilmerg self-assigned this Jan 19, 2022
@cla-bot cla-bot Bot added the cla/signed label Jan 19, 2022
@nilmerg nilmerg removed this from the v0.2.0 milestone Jun 15, 2022
@nilmerg nilmerg force-pushed the strict-interfaces branch from 44f3191 to e59c279 Compare August 10, 2023 07:11
@lippserd lippserd force-pushed the strict-interfaces branch from e59c279 to 013105a Compare March 12, 2026 12:45
@lippserd lippserd changed the title Strict interfaces Add strict types to GettextTranslator and NoopTranslator Mar 12, 2026
@lippserd lippserd force-pushed the strict-interfaces branch 2 times, most recently from b730d78 to 2f9ea23 Compare March 13, 2026 12:36
@lippserd lippserd force-pushed the strict-interfaces branch from 2f9ea23 to f857603 Compare March 24, 2026 16:59
`ipl-stdlib` introduces strict type declarations, requiring all classes
implementing its interfaces to match the exact parameter and return types
defined there. Updated affected classes and bumped the required
`ipl-stdlib` and PHP version in `composer.json` accordingly.

Co-authored-by: Bastian Lederer <bastian.lederer@icinga.com>
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
@lippserd lippserd force-pushed the strict-interfaces branch from f857603 to b1526fe Compare March 24, 2026 17:23
@lippserd lippserd added this to the v0.3.0 milestone Mar 24, 2026
@lippserd lippserd merged commit 5182b72 into main Mar 24, 2026
13 checks passed
@lippserd lippserd deleted the strict-interfaces branch March 24, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants