Problem/Motivation

Let's fix all PHPStan Lvl 1 errors Instantiated class Foo\Bar not found.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3326378

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

Spokje created an issue. See original summary.

spokje’s picture

Status: Active » Needs review

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

smustgrave’s picture

Removing credit from myself for rebasing

Searching baseline "#^Instantiated class all 5 instances are covered.

Will mark after the tests pass

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

All green.

As mentioned Searching baseline "#^Instantiated class all 5 instances are covered.

  • catch committed 2e6d96c2 on 10.0.x
    Issue #3326378 by Spokje: Fix PHPStan L1 error "Instantiated class Foo\...
catch’s picture

Version: 10.1.x-dev » 10.0.x-dev
Status: Reviewed & tested by the community » Fixed

Committed 1cb372e and pushed to 10.1.x. Thanks! Also separately committed the patch to 10.0.x after a full phpstan run there to keep things in sync.

  • catch committed 461eb14b on 10.1.x
    Issue #3326378 by Spokje: Fix PHPStan L1 error "Instantiated class Foo\...

Status: Fixed » Closed (fixed)

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