Problem/Motivation

Picked up by PHPStan in my D9 installation with 3.0.0-beta1

The BrightcoveTextTrack file references constants that do not exist in Drupal 9: NODE_PUBLISHED and NODE_NOT_PUBLISHED

Steps to reproduce

N/A

Proposed resolution

Replace with \Drupal\node\NodeInterface::PUBLISHED and \Drupal\node\NodeInterface::NOT_PUBLISHED

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Issue fork brightcove-3244406

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

Driskell created an issue. See original summary.

driskell’s picture

Status: Active » Needs review

Raised an MR

yce’s picture

Hi,

Thanks for noticing! I've merged your MR.

yce’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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