Updates needed for Drupal 10

Created on 11 October 2023, about 1 year ago
Updated 16 December 2023, about 1 year ago

CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Block Visibility Groups
Scanned on Wed, 10/11/2023 - 10:55.

13 errors found. 2 warnings found. Avoid some manual work by using drupal-rector
for fixing issues automatically or Upgrade Rector to generate patches.

C:\xampp\htdocs\bnd91\web\modules\contrib\block_visibility_groups\block_visibili
ty_groups_admin\src\Tests\GroupListerTest.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix with │ 37 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

C:\xampp\htdocs\bnd91\web\modules\contrib\block_visibility_groups\tests\src\Func
tional\BlockVisibilityGroupsUiTest.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix with │ 36 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 43 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 71 │ Call to deprecated method drupalPostForm() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:9.1.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->submitForm() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 79 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 80 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 169 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 201 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 231 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 258 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 261 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 280 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 281 │ Call to deprecated method assertEqual() of class │
│ rector │ │ Drupal\Tests\BrowserTestBase. Deprecated in drupal:8.0.0 and │
│ │ │ is removed from drupal:10.0.0. Use $this->assertEquals() │
│ │ │ instead. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

modules/contrib/block_visibility_groups/block_visibility_groups.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Value of core_version_requirement: ^8 || ^9 is not │
│ manually │ │ compatible with the next major version of Drupal core. See │
│ │ │ https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

modules/contrib/block_visibility_groups/block_visibility_groups_admin/block_visi
bility_groups_admin.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Value of core_version_requirement: ^8 || ^9 is not │
│ manually │ │ compatible with the next major version of Drupal core. See │
│ │ │ https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

📌 Task
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇺🇸United States crutch

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

Comments & Activities

Production build 0.71.5 2024