Fix possibly undefined $finished in _batch_process()

Created on 22 October 2021, about 3 years ago
Updated 28 March 2023, over 1 year ago

Problem/Motivation

The test fails on PHP 8.1 https://www.drupal.org/pift-ci-job/2212609

Steps to reproduce

phpstorm also reports that $finished could be undefined

Proposed resolution

fix code

Remaining tasks

review,commit

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
Batch 

Last updated 9 days ago

Created by

🇫🇷France andypost

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024