Closed (works as designed)
Project:
Address
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 May 2026 at 16:04 UTC
Updated:
4 Nov 2026 at 21:18 UTC
Jump to comment: Most recent
Running Drupal 11.3, Upgrade Status module reports,
web/modules/composer/address/address.views.inc 18 Call to deprecated function views_field_default_views_data(). Deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Use Drupal::service('views.field_data_provider') ->defaultFieldImplementation($field_storage); instead.
Use the recommended service instead.
Make an MR.
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
benstallings commentedThe function call is already wrapped in a conditional; phpstan just needs to be told to ignore it.
Comment #5
dwwI rebased, since I've recently fixed a bunch of phpstan crap and the default pipelines are passing again.
Don't understand why, but the phpstan job is now failing because there's nothing for phpstan to ignore on that line:
https://git.drupalcode.org/project/address/-/jobs/13349370
Seems like Upgrade Status is doing something improper to complain about the BC function given to
DeprecationHelper::backwardsCompatibleCall().Leaning towards "works as designed" for this, but a little curious about what is going on here.
Comment #6
dwwPushed a commit to enable the Upgrade Status CI job, and revert the "fix" in here. The resulting pipeline was:
https://git.drupalcode.org/project/address/-/pipelines/1031589
Upgrade Status isn't complaining about it:
https://project.pages.drupalcode.org/-/address/-/jobs/13372144/artifacts...
Apparently, this was fixed upstream in Upgrade Status a while ago.