Skip to content

Conversation

@binsky08
Copy link
Collaborator

While trying to mitigate php8.4 deprecation warnings I ended in a comprehensive overhaul of our custom DB entity types and classes.
So we now have (almost everywhere) deterministic entity types from the controller to the entity class.

  1. I've added and applied a rector config for easier language migrations and php deprecation fixes
  2. Migrated implicit nullable parameters (deprecated since php8.4) to the explicit syntax introduced in php7.1; closes PHP 8.4 fix code #834
  3. Improved type safety in custom QBMapper classes and its callers by using a more strict entity typing
  4. Add .editorconfig to match Nextcloud's default file formatting when using an IDE like PhpStorm

…ng a more strict entity typing

Signed-off-by: binsky <timo@binsky.org>
…ity to php8.1

fixes #834

Signed-off-by: binsky <timo@binsky.org>
@binsky08 binsky08 added this to the 2.5.0 milestone Sep 27, 2025
@binsky08 binsky08 requested a review from animalillo September 27, 2025 22:05
Signed-off-by: binsky <timo@binsky.org>
@binsky08 binsky08 mentioned this pull request Sep 28, 2025
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.

PHP 8.4 fix code

2 participants