Problem/Motivation

Amongst the current suppressions found in the PHPStan level 1 baseline is: Class Foo\Bar\Baz referenced with incorrect case: Foo\bar\Baz..

This issue exists to fix all of those.

Steps to reproduce

- Run PHPStan on level 1 and see the above issue amongst all others.

Proposed resolution

- Solve the single reported issue for the above mentioned.
- Run PHPStan on level 1 and don't see the above issue any more.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3352932

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

Title: Fix PHPStan L1 error "" » Fix PHPStan L1 error "Class Foo\Bar\Baz referenced with incorrect case: Foo\bar\Baz."

spokje’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Applied the MR and searched for "referenced with incorrect case" in the phpstan-baseline file and found 1 reference that was fixed here. Tests are green so think this is good

longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed a701bab559 to 10.1.x. Thanks!

  • longwave committed a701bab5 on 10.1.x
    Issue #3352932 by Spokje: Fix PHPStan L1 error "Class Foo\Bar\Baz...

Status: Fixed » Closed (fixed)

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

quietone’s picture

Closed #3264157: Fix entity case in settings_tray import as a duplicate, adding credit.