Problem/Motivation

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.

Steps to reproduce

Install intercept with Php 8.4 and have deprecated warnings visible

Proposed resolution

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

Remaining tasks

I will be putting an AI assisted commit that will fix these issues based upon the latest Intercept code.

User interface changes

API changes

Data model changes

Issue fork intercept-3585020

Command icon Show commands

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

robbt created an issue. See original summary.

attheshow made their first commit to this issue’s fork.

attheshow’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.