Problem/Motivation
drupal-check on version:
f854e9882ee56a1dc0be90d6c72c7058c2c9e113
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Line block_visibility_groups_admin/Tests/Controller/GroupListerTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\block_visibility_groups_admin\Tests\GroupListerTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line block_visibility_groups_admin/src/Controller/GroupLister.php
------ ------------------------------------------------------------------------------------------
63 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line src/BlockVisibilityGroupedListBuilder.php
------ ------------------------------------------------------------------------------------------
426 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line src/ConditionRedirectTrait.php (in context of class Drupal\block_visibility_groups\Form\ConditionDeleteForm)
------ --------------------------------------------------------------------------------------------------------------
22 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
------ --------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line src/ConditionRedirectTrait.php (in context of class Drupal\block_visibility_groups\Form\ConditionFormBase)
------ ------------------------------------------------------------------------------------------------------------
22 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
------ ------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line src/Controller/BlockVisibilityGroupListBuilder.php
------ -------------------------------------------------------------------------------------
29 Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder.
------ -------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Form/BlockVisibilityGroupDeleteForm.php
------ --------------------------------------------------------------------------------------
118 Access to deprecated property $entityManager of class Drupal\Core\Entity\EntityForm.
131 Access to deprecated property $entityManager of class Drupal\Core\Entity\EntityForm.
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line src/Form/BlockVisibilityGroupForm.php
------ ----------------------------------------------------------------------------------
85 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
------ ----------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line src/Form/ConditionDeleteForm.php
------ ------------------------------------------------------------------------------------------
49 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
------ ------------------------------------------------------------------------------------------
[ERROR] Found 10 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3042623-4.patch | 5.21 KB | joelpittet |
| #3 | 3042623-3.patch | 4.82 KB | joelpittet |
| #2 | drupal_9_deprecated_code-3042623-2.patch | 4.51 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
joelpittetthank you @Sergiu Stici. I'm just putting up the moved test that wasn't getting picked up to make sure it still passes.
Comment #4
joelpittetComment #6
joelpittetThanks @Sergiu Stici, I've committed this to the latest dev branch.