Closed (fixed)
Project:
Bibliography & Citation
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2025 at 22:36 UTC
Updated:
5 Jan 2026 at 20:04 UTC
Jump to comment: Most recent
Comments
Comment #2
jatin.buzz commentedWorking On It!
Comment #4
jatin.buzz commentedReviewed the problem — it occurs because the checkFieldAccess() method in ReferenceAccessControlHandler defines the $items parameter with a default value of NULL but without explicitly marking it as nullable.
In newer PHP versions, this triggers the deprecation warning:
“Implicitly marking parameter $items as nullable is deprecated.”
This mainly causes deprecation notices in logs and could lead to future type compatibility issues.
I applied the patch, which makes the $items parameter explicitly nullable (?FieldItemListInterface $items = NULL).
The deprecation warning is gone and everything continues to work as expected.
Please review the MR.
Comment #5
mark_fullmerThanks for the report and code, uberhacker, and thanks for the review, jatin812!