The LogCacheTagsToQueue class is defined in the src/Logger/LogCacheTags.php file. That is wrong: The filename must be src/Logger/LogCacheTagsToQueue.php, to correctly follow PSR-4 and be found by Drupal core.

Comments

useernamee created an issue. See original summary.

useernamee’s picture

StatusFileSize
new185 bytes

Here is a patch that fixes the issue.

useernamee’s picture

Status: Active » Needs review
mostepaniukvm’s picture

Assigned: useernamee » Unassigned
StatusFileSize
new472 bytes

Had problem applying patch on MacOS with composer, it skips this patch for some reason.
Re-rolled patch with minor change.

vasike’s picture

Status: Needs review » Reviewed & tested by the community

i confirm #4 issue and solution

So i think we have a RTBC

useernamee’s picture

I wonder whether there is any plan on merging this ticket? It is in RTBC for more than a year.

avpaderno’s picture

Title: PSR-4 Naming convention » The filename does not match with the class name
Version: 1.0.x-dev » 2.0.x-dev
Issue summary: View changes
Issue tags: -services +PSR-4

  • avpaderno committed 6e1f64e3 on 2.0.x
    Issue #3219322 by useernamee, mostepaniukvm, vasike, avpaderno: The...

  • avpaderno committed e3846f5a on 1.0.x
    Issue #3219322 by useernamee, mostepaniukvm, vasike, avpaderno: The...
avpaderno’s picture

Version: 2.0.x-dev » 1.0.x-dev

Thank you for the patches! I made a commit for the 1.0.x and the 2.0.x branches.

avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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