drupal-check output:

------ --------------------------------------------
Line config_actions.drush.inc
------ --------------------------------------------
51 Call to deprecated function drush_print().
55 Call to deprecated function drush_print().
57 Call to deprecated function drush_print().
60 Call to deprecated function drush_print().
82 Call to deprecated function drush_print().
87 Call to deprecated function drush_print().
90 Call to deprecated function drush_print().
------ --------------------------------------------

------ --------------------------------------------------------------------------------------------------
Line src/Plugin/ConfigActionsSource/ConfigActionsId.php
------ --------------------------------------------------------------------------------------------------
181 Call to deprecated method getEntityManager() of class Drupal\Core\Config\ConfigManagerInterface:
in Drupal 8.7.x, will be removed before Drupal 9.0.0. Use
\Drupal\Core\Config\ConfigManagerInterface::getEntityTypeManager()
instead.
------ --------------------------------------------------------------------------------------------------

------ -------------------------------------------------------
Line tests/src/Kernel/ConfigActionsSourceTest.php
------ -------------------------------------------------------
132 Call to deprecated function file_unmanaged_delete():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::delete().
------ -------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Unit/ConfigActionsPluginBaseTest.php
------ -------------------------------------------------------------------------
33 Call to deprecated method getMock() of class Drupal\Tests\UnitTestCase:
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Tests\PhpunitCompatibilityTrait::createMock() instead.
------ -------------------------------------------------------------------------

[ERROR] Found 10 errors

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joebot created an issue. See original summary.

joebot’s picture

patch to fix deprecations

joebot’s picture

Assigned: joebot » Unassigned
Status: Active » Needs review
Lisa B.’s picture

Has this issue not already been fixed in https://www.drupal.org/project/flood_unblock/issues/3062795 ?

mpotter’s picture

Not sure what you are referring to. `flood_unblock` is a completely different module with its own D9 patches.

nedjo’s picture

Two additional D9 compatibility fixes:

  • Set core_version_requirement in .info.yml file.
  • Add required arguments to new ExtensionInstallStorage() call.
nedjo’s picture

The composer require failure in the test above is because as noted here:

At this time, DrupalCI does not support testing patches which change the core_version_requirement.

  • nedjo committed 4fb99ff on 8.x-1.x authored by joebot
    Issue #3081856 by nedjo, joebot: Drupal 9 Deprecated Code Report
    
nedjo’s picture

Status: Needs review » Fixed
nedjo’s picture

I've posted a new 8.x-1.2 release compatible with Drupal 9.

Status: Fixed » Closed (fixed)

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