Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Coding Standards
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2025 at 13:15 UTC
Updated:
2 Nov 2025 at 14:29 UTC
Jump to comment: Most recent
At Drupal core 11.3 PHPStan reports the following:
------ -----------------------------------------------------------------
Line scheduler.module
------ -----------------------------------------------------------------
1383 Call to method getSystemData() of deprecated class
Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase:
in drupal:11.3.0 and is removed from drupal:12.0.0. There is no
replacement.
🪪 method.deprecatedClass
------ -----------------------------------------------------------------
[ERROR] Found 1 error
See https://git.drupalcode.org/project/scheduler/-/jobs/6946030#L58
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
jonathan1055 commentedAdding the message to
phpstan-baseline.neonfixes PHPStan next minor, but now at 'current' (which is running 11.2) we get:because the deprecation is only from 11.3+
Comment #4
jonathan1055 commentedThis is fixed by adding
reportUnmatched: falseto override the default just for this specific message.https://git.drupalcode.org/project/scheduler/-/merge_requests/259/diffs?...
Comment #6
jonathan1055 commentedFixed