Fix form declaration

Created on 3 November 2020, about 4 years ago
Updated 19 December 2023, about 1 year ago

While running Drupal-check in preparation for D9 upgrade, I noticed this error reported by Drupal check

Line   src/FormScheduledUpdateSettingsForm.php
 ------ --------------------------------------------------------------------------------------------------------------
         Class Drupal\scheduled_updates\Entity\Form\ScheduledUpdateSettingsForm was not found while trying to analyse
         it - autoloading is probably not configured properly.
         πŸ’‘ Learn more at https://phpstan.org/user-guide/autoloading

Doesn't seem like a D9 issue specifically, but rather a wrong form declaration or namespace or something.
It's looking for this class
Drupal\scheduled_updates\Entity\Form\ScheduledUpdateSettingsForm

But I think what it really wants is:
https://git.drupalcode.org/project/scheduled_updates/-/blob/8.x-1.x/src/...

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joshua.boltz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024