- 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 (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-466239These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.6
- mglaman/phpstan-drupal: 1.3.5
- palantirnet/drupal-rector: 0.20.3
- @project-update-bot opened merge request.
- First commit to issue fork.
- @dydave opened merge request.
- 🇫🇷France dydave
This task is a consequence of the api change introduced in Drupal Core 10.2, described in:
Change record: _drupal_flush_css_js() is deprecated and replaced by \Drupal::service('asset.query_string')->reset() → .Based on the rector patches above at #2, the code of
flushJsCss
was refactored withbackwardsCompatibleCall
to support deprecated function_drupal_flush_css_js
for versions below core:10.2.PHPSTAN: Ignored error message:
Unable to resolve the template type Deprecated in call to method static method Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall()
Since all the tests and jobs were still passing 🟢, I went ahead and merged the changes above at #7.
Marking issue as Fixed, for now.
Thanks!