Problem/Motivation

When reviwing issue #3419142 I noticed that the PHPUnit, eslint, and PHPStan tests are failing we should fix these tests.

Steps to reproduce

Run Gitlab CI on the codebase.

Proposed resolution

Fix the tests using the Gitlab runner.

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

rymcveigh created an issue. See original summary.

greggles’s picture

Status: Active » Needs work

Looks like there's one more eslint thing to change, if possible:

line 120, col 11, Warning - Unexpected unnamed function. (func-names)
rymcveigh’s picture

Status: Needs work » Needs review

@greggles, nice catch. I wasn't sure if that needed to be addressed because the eslint output was a "warning," and using an unnamed function in a .once is one of the alternative methods defined on this page: https://www.drupal.org/node/3158256.

I addressed it using a different recommended method that names the function.

rymcveigh’s picture

greggles’s picture

Status: Needs review » Reviewed & tested by the community

LGTM then.

  • rymcveigh committed a5fa84b9 on 2.0.x
    Issue #3419332 by rymcveigh, greggles: Fix PHPStan, ESLint and PHPUnit...
rymcveigh’s picture

rymcveigh’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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