Closed (fixed)
Project:
External Entities
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2026 at 10:51 UTC
Updated:
2 Sep 2026 at 09:00 UTC
Jump to comment: Most recent
On PHP 8.5 / Drupal 12 a lot of our overrides fire the "method might add a native return type" notice — across the base classes, plugins and managers. Add the return types (or @return) so they stop.
While we're here: fix the one array_key_exists() call that can get a null key, and tag hook_requirements with #[LegacyRequirementsHook].
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
velmir_taky commentedComment #4
velmir_taky commentedTyped the overrides across the base classes, plugins and managers (+ submodules), fixed the null array_key_exists() in ValueMapping and put #[LegacyRequirementsHook] on the requirements hooks.
Comment #6
guignonvLooks good to me. I made a change in the docs: the change logs to reflect the purpose of the 3.1.x. We will update the date when we will be ready to release something. And I added you and AI credits to the README (regarding our discussion yesterday on AI use).
I let you merge when you're ready.
Comment #8
velmir_taky commentedThanks @guignonv!
Merged!