Skip to content

Conversation

@jrauh01
Copy link
Contributor

@jrauh01 jrauh01 commented Nov 13, 2025

As we now use php 8.2 as minimal version, the following modernizations have been added to the code:

  • Typed class properties
  • Return values for methods
  • Match expressions
  • Modern string functions (e.g. str_contains(), str_starts_with() and str_ends_with())
  • Nullsafe operator usage
  • Deprecated code has been replaced
  • Imports are now used everywhere

Additionally the import blocks have been sorted, indentation has been fixed, and some smaller adjustments.

resolves #378

@jrauh01 jrauh01 self-assigned this Nov 13, 2025
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Nov 13, 2025
@jrauh01 jrauh01 added the enhancement New feature or improvement label Nov 13, 2025
@jrauh01 jrauh01 force-pushed the use-typed-class-attributes branch 3 times, most recently from 2bf4959 to 25c7cb4 Compare November 14, 2025 09:29
@jrauh01 jrauh01 requested a review from nilmerg November 14, 2025 09:34
@jrauh01 jrauh01 force-pushed the use-typed-class-attributes branch from 25c7cb4 to 41a88b9 Compare November 14, 2025 09:36
@jrauh01 jrauh01 force-pushed the use-typed-class-attributes branch from 41a88b9 to 34029a8 Compare November 14, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use typed class attributes

2 participants