Skip to content

Breaking changes in modernize code #69

Open
Jan-Schuppik wants to merge 1 commit intomainfrom
modernize-code-with-breaking-changes
Open

Breaking changes in modernize code #69
Jan-Schuppik wants to merge 1 commit intomainfrom
modernize-code-with-breaking-changes

Conversation

@Jan-Schuppik
Copy link

Add strict type hints to isValidEvent()

Adds a string parameter type and bool return type to isValidEvent(), replacing the previously doc-block-only annotations.

Breaking Change

This is a breaking change for any classes overriding isValidEvent() without matching type hints. The following dependencies required updates to stay compatible:

  • ipl-html:
    • src/FormElement/FormElements.php
  • ipl-web:
    • src/Control/SearchBar.php
  • notification-web:
    • library/Notifications/Web/Form/ContactForm.php
  • vspheredb:
    • library/Vspheredb/Web/Form/VCenterShipMetricsForm.php
    • library/Vspheredb/Web/Form/PerfdataConsumerForm.php

This change required adjustments to the following dependencies:
ipl-html:
    - src/FormElement/FormElements.php
ipl-web:
    - src/Control/SearchBar.php
notification-web:
    - library/Notifications/Web/Form/ContactForm.php
vspheredb:
    - library/Vspheredb/Web/Form/VCenterShipMetricsForm.php
    - library/Vspheredb/Web/Form/PerfdataConsumerForm.php
@cla-bot cla-bot bot added the cla/signed label Mar 12, 2026
@Jan-Schuppik Jan-Schuppik changed the title Modernize code with breaking changes Breaking changes in modernize code Mar 13, 2026
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.

1 participant