Problem/Motivation

Since migrating to PHP 8.5, I have the following errors everytime I use "drush potx" :

  • /Deprecated function/: Using null as an array offset is deprecated
  • /Deprecated function/: Non-canonical cast (boolean) is deprecated

Steps to reproduce

Install Drupal 11.3.2 with PHP 8.5 and potx 8.x-1.1and use "drush potx"

Proposed resolution

Apply the attached patch.

Remaining tasks

Review and merge

CommentFileSizeAuthor
potx-issue-XXX.patch1.44 KBepieddy

Issue fork potx-3571496

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

epieddy created an issue. See original summary.

gábor hojtsy made their first commit to this issue’s fork.

gábor hojtsy’s picture

Version: 8.x-1.1 » 2.x-dev
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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.