Fixed
Project:
Intercept
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2026 at 17:07 UTC
Updated:
6 May 2026 at 17:59 UTC
Jump to comment: Most recent
There are many functions in Intercept that produce deprecated warnings when running Php 8.4 due to the requirement that parameters include a ? before the variable to be explicit that it is nullable.
Install intercept with Php 8.4 and have deprecated warnings visible
There is a simple fix of prepending the ? in front of the parameters. This shouldn't affect backwards compatibility as this ? has been supported since Php 7.1
I will be putting an AI assisted commit that will fix these issues based upon the latest Intercept code.
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 #4
attheshow commented