Problem/Motivation

Hello project maintainers,

This is an automated issue to help make this module compatible with Drupal 11.

Changes will periodically be added to this issue that remove deprecated API uses. To stop further changes from being posted, change the status to anything other than Active, Needs review, Needs work or Reviewed and tested by the community. Alternatively, you can remove the "ProjectUpdateBotD11" tag from the issue to stop the bot from posting updates.

The changes will be posted by the Project Update Bot official user account. This account will not receive any issue credit contributions for itself or any company.

Proposed resolution

You have a few options for how to use this issue:

  1. Accept automated changes until this issue is closed

    If this issue is left open (status of Active, Needs review, Needs work or Reviewed and tested by the community) and the "ProjectUpdateBotD11" tag is left on this issue, new changes will be posted periodically if new deprecation fixes are needed.

    As the Drupal Rector project improves and is able to fix more deprecated API uses, the changes posted here will cover more of the deprecated API uses in the module.

    Patches and/or merge requests posted by others are ignored by the bot, and general human interactions in the issue do not stop the bot from posting updates, so feel free to use this issue to refine bot changes. The bot will still post new changes then if there is a change in the new generated patch compared to the changes that the bot posted last. Those changes are then up to humans to integrate.

  2. Leave open but stop new automated changes.

    If you want to use this issue as a starting point to remove deprecated API uses but then don't want new automated changes, remove the "ProjectUpdateBotD11" tag from the issue and use it like any other issue (the status does not matter then). If you want to receive automated changes again, add back the "ProjectUpdateBotD11" tag.

  3. Close it and don't use it

    If the maintainers of this project don't find this issue useful, they can close this issue (any status besides Active, Needs review, Needs work and Reviewed and tested by the community) and no more automated changes will be posted here.

    If the issue is reopened, then new automated changes will be posted.

    If you are using another issue(s) to work on Drupal 11 compatibility it would be very useful to other contributors to add those issues as "Related issues" when closing this issue.

Remaining tasks

Using the patches

  1. Apply the latest patch in the comments by Project Update Bot or human contributors that made it better.
  2. Thoroughly test the patch. These patches are automatically generated so they haven't been tested manually or automatically.
  3. Provide feedback about how the testing went. If you can improve the patch, post an updated patch here.

Using the merge request

  1. Review the merge request and test it.
  2. Thoroughly test the changes. These changes are automatically generated so they haven't been tested manually or automatically.
  3. Provide feedback about how the testing went. If you can improve the merge request, create a new branch and merge request and work from there.

Warning: The 'project-update-bot-only' branch will always be overwritten. Do not work in that branch!

Providing feedback

If there are problems with one of the changes posted by the Project Update Bot, such as it does not correctly replace a deprecation, you can file an issue in the Drupal Rector issue queue. For other issues with the bot, for instance if the issue summary created by the bot is unclear, use the Project analysis issue queue.

Issue fork cshs-3455186

Command icon Show commands

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

Project Update Bot created an issue. See original summary.

project update bot’s picture

Status: Active » Needs review
StatusFileSize
new582 bytes
new3.5 KB

This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.

It is important that any automated tests available are run and that you manually test the changes.

Drupal 11 Compatibility

According to the Upgrade Status module, even with these changes, this module is not yet compatible with Drupal 11.

Currently Drupal Rector, version 0.20.3, cannot fix all Drupal 11 compatibility problems.

Therefore, these changes did not update the info.yml file for Drupal 11 compatibility.

The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.

Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.

Debug information

Bot run #11-199781

These packages were used to generate the fixes:

  1. drupal/upgrade_status: 4.3.2
  2. mglaman/phpstan-drupal: 1.2.11
  3. palantirnet/drupal-rector: 0.20.3

dqd’s picture

Issue summary: View changes
Status: Needs review » Active

emulamba’s picture

StatusFileSize
new1.86 KB

I've improved the first patch.
With my patch, the module is now compatible with Drupal 11

emulamba’s picture

project update bot’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new2.17 KB
new2.63 KB
new2.66 KB

This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.

It is important that any automated tests available are run and that you manually test the changes.

Drupal 11 Compatibility

According to the Upgrade Status module, even with these changes, this module is not yet compatible with Drupal 11.

Currently Drupal Rector, version 0.20.3, cannot fix all Drupal 11 compatibility problems.

Therefore, these changes did not update the info.yml file for Drupal 11 compatibility.

The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.

Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.

Debug information

Bot run #11-318179

These packages were used to generate the fixes:

  1. drupal/upgrade_status: 4.3.6
  2. mglaman/phpstan-drupal: 1.3.1
  3. palantirnet/drupal-rector: 0.20.3
joseph.olstad’s picture

Issue summary: View changes

  • joseph.olstad committed 057ab203 on 4.0.x
    Issue #3455186 by dqd, emulamba, joseph.olstad: Drupal 11 compatibility...
joseph.olstad’s picture

The changes made by the Project-Update-Bot result in test failures.
Error: Call to undefined method PHPUnit\Framework\MockObject\Rule\InvokedCount::getInvocationCount

  • joseph.olstad committed 1bd769e8 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Update change made by project...

  • joseph.olstad committed ebbce60d on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Use numberOfInvocations()...

  • joseph.olstad committed 86533223 on 4.0.x
    Revert "Issue #3455186 by cmlara, joseph.olstad - Update change made by...

  • joseph.olstad committed e539e6e3 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed 558dbf87 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed 96786bd6 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed 2940d2f6 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed ba6166b3 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed 7c5da901 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...

  • joseph.olstad committed ff21f8bf on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Replace withConsecutive and...
project update bot’s picture

This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.

It is important that any automated tests available are run and that you manually test the changes.

Drupal 11 Compatibility

According to the Upgrade Status module, even with these changes, this module is not yet compatible with Drupal 11.

Currently Drupal Rector, version 0.20.3, cannot fix all Drupal 11 compatibility problems.

Therefore, these changes did not update the info.yml file for Drupal 11 compatibility.

The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.

Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.

Debug information

Bot run #11-327569

These packages were used to generate the fixes:

  1. drupal/upgrade_status: 4.3.6
  2. mglaman/phpstan-drupal: 1.3.1
  3. palantirnet/drupal-rector: 0.20.3

  • joseph.olstad committed e761312e on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed bcf36c10 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 5e5a4c73 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 179b1b5c on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 6e6e6a6b on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 5a33aa88 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 4c16f73b on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed c7d88ee0 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed e78c9155 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 433da817 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 5dd8e9dc on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 7ac1cabc on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 288d4ebb on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 5c9fc1b7 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed cce95cbe on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed fda1ad95 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed f85ca4b8 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 7e947bc7 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 58922d9d on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 9c78d482 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed ed7dfc52 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 7f5f0f8a on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed c5e530dd on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed d1e24519 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 2132cc3e on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed c3b8e964 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 166156e4 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 97ab0247 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 2cf3c534 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed bcaef31c on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 7f3821b0 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 07507b11 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 86f0a39f on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed ca9744d0 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed eae8ea2f on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed a2389847 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed da0d2b87 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed b4ba10f1 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 20dbe97e on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 96a3a2a6 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed d8a878f2 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed c007a4af on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 725b47d7 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 2ad00369 on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed bb3e0e3f on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 62786c6d on 4.0.x
    Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed b2304a35 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor tests for D11 phpunit 10+...

  • joseph.olstad committed f9f47c13 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor tests for D11 phpunit 10+...

  • joseph.olstad committed 88f1e040 on 4.0.x
    Revert "Issue #3455186 by joseph.olstad - Refactor tests for D11 phpunit...

  • joseph.olstad committed 27c5cea0 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor tests for D11 phpunit 10+...

  • joseph.olstad committed f8b7d7de on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor tests for D11 phpunit 10+...

  • joseph.olstad committed 6571d1d2 on 4.0.x
    Issue #3455186 by joseph.olstad - 3rd broken Refactor of 88f1e040c5ddf2...

  • joseph.olstad committed b3d28f4d on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed e407b5c5 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 75ae797c on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 751c892f on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed b0855930 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 0f8c17d7 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 176a34a6 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 5e1163c5 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 390f6c20 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 780c844c on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 5cdf5108 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 46b55c76 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 70d169a6 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed dbf6631b on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed df043d43 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 49a1aa85 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 9347317d on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 66785510 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 7f3d5c4e on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 548fda43 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed daa9ce98 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 914cc22d on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 82061ba6 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed f1927eb5 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed d750a14a on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed c7393f0c on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 0d9781f4 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed a841a477 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 9899231b on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 4be2a29f on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 89e40acf on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed b9d585be on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 0807a6a3 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor of 88f1e040c5ddf2 for tests...

  • joseph.olstad committed 64a0cf60 on 4.0.x
    Issue #3455186 by joseph.olstad - Refactor simplified changes to...

  • joseph.olstad committed a1415202 on 4.0.x
    Issue #3455186 by joseph.olstad - back to the wild goose chase...

  • joseph.olstad committed 16f1f850 on 4.0.x
    Issue #3455186 by joseph.olstad - Restore functional tests from commit...
joseph.olstad’s picture

Issue summary: View changes

D11 release is 4.0.3-rc1

project update bot’s picture

This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.

It is important that any automated tests available are run and that you manually test the changes.

Drupal 11 Compatibility

According to the Upgrade Status module, even with these changes, this module is not yet compatible with Drupal 11.

Currently Drupal Rector, version 0.20.3, cannot fix all Drupal 11 compatibility problems.

Therefore, these changes did not update the info.yml file for Drupal 11 compatibility.

The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.

Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.

Debug information

Bot run #11-333927

These packages were used to generate the fixes:

  1. drupal/upgrade_status: 4.3.6
  2. mglaman/phpstan-drupal: 1.3.1
  3. palantirnet/drupal-rector: 0.20.3

  • joseph.olstad committed 560f33e3 on 4.0.x
    Issue #3455186 by project update bot: Automated Drupal 11 compatibility...
joseph.olstad’s picture

Issue summary: View changes
Status: Needs review » Fixed

Hoping we can call this fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.