Needs work
Project:
Drupal Canvas
Version:
1.x-dev
Component:
Project management
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Mar 2026 at 09:28 UTC
Updated:
15 Apr 2026 at 12:32 UTC
Jump to comment: Most recent
:pray: Let's use the `FQCN::class` wherever we can. Reduces magic, makes it easier to navigate & understand these tests.
— yours truly at https://git.drupalcode.org/project/canvas/-/merge_requests/651#note_727491
Automate this feedback.
None.
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
Comment #3
wim leersOdd, seems d.o is not showing the associated MR: https://git.drupalcode.org/project/canvas/-/merge_requests/797
Comment #4
wim leersThis found 66 errors. That makes for a great Novice task, great DrupalCon timing 😄
Comment #6
wim leersNice, thank you @gurnoor kaur — looks like you addressed 100% of the PHPStan violations, but in doing so caused a bunch of tests to fail. I'll take a look.
Comment #7
phenaproximaThe tests are failing because the premise of this issue is kinda wrong. There are some services -- like
plugin.manager.field.widget-- which don't have a class or interface alias we can use.