- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request 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 β these changes make this module compatible with Drupal 11! π
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot β to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120835This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
- Status changed to Active
8 months ago 1:42am 8 September 2024 - Status changed to Needs work
3 months ago 12:23pm 31 January 2025 - π¬π§United Kingdom scott_euser
Test failure for D11:
1) Drupal\Tests\config_views\Functional\DefaultViewsTest::testViews Drupal\Core\Extension\Exception\UnknownExtensionException: Unknown themes: classy.
- π¬π§United Kingdom scott_euser
scott_euser β changed the visibility of the branch project-update-bot-only to hidden.
- π¬π§United Kingdom scott_euser
Okay tests now pass with this (but I've had to take the code from π Dynamic property issue in ConfigEntityQuery with PHP 8.2 RTBC for tests to pass otherwise the deprecation is a fatal error in php 8.3).
- π¬π§United Kingdom scott_euser
Added π Fix phpcs, phpstan, cspell Postponed for after this is merged (set it to postponed for now)
-
scott_euser β
committed 8a24e52a on 2.0.x authored by
dqd β
Issue #3429482 by dqd, scott_euser: Automated Drupal 11 compatibility...
-
scott_euser β
committed 8a24e52a on 2.0.x authored by
dqd β
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Active
3 days ago 1:11pm 1 May 2025 - πΊπΈUnited States swirt Florida
Setting this back to Active so it will continue to get any automated updates
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. - π¬π§United Kingdom scott_euser
Hmmm not sure that's the right approach because we should be granting credit for the work done. I instead added a scheduled monthly pipeline to Gitlab CI in case there is a deprecation added to D10 that is removed in D11 (though I think that's not possible now and only deprecations would happen in D11 for D12 which would get created as a new issue by the bot?). The scheduled pipeline will also flag deprecations added to D11 that will affect D12.
I'll switch back to fixed for now, but feel free to disagree of course.
- πΊπΈUnited States swirt Florida
On other modules I have received updates after the initial round. I think it is related to either of two things
1. Improvements made to the update bot / rector rather than newly announced deprivations.
2. Inadvertantly adding new code to the module that actually contains a deprecation.Yes the credit awarding is an unfortunate casualty, but it is only a delay, as the this ticket can be closed like the D10 update ticket was once we are firmly in D11 and getting updates to D12. The community understands that credit is not always immediate.
The directions are pretty clear at the top of the ticket, but I agree it would be nice if it spelled out when it is finally safe to close.
- π¬π§United Kingdom scott_euser
Okay cool, let's leave it active then. Not sure we'll get any more drupal 11 fixes given we've got it working in Drupal 11 and there is a stable release for that and gitlab CI monthly pipeline should also notify on pipeline issues, but I'll set a reminder for summer 2026 D12 release and then we'll at least know for certain for the future.