Hi,

The results of checking Drupal 9 compatibility

6/6 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ ----------------------------------------------------------------------
Line dropguard.install
------ ----------------------------------------------------------------------
53 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

------ -----------------------------------------------------------------------------
Line dropguard.module
------ -----------------------------------------------------------------------------
48 Call to deprecated function system_rebuild_module_data():
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal::service('extension.list.module')->getList() instead.
Note: use reset() only when you really need to rescan and rebuild the list.
60 Call to deprecated function drupal_get_profile():
in drupal:8.3.0 and is removed from drupal:9.0.0.
Use the install_profile container parameter or \Drupal::installProfile()
instead. If you are accessing the value before it is written to
configuration during the installer use the $install_state global. If you
need to access the value before container is available you can use
BootstrapConfigStorageFactory to load the value directly from
configuration.
189 Call to deprecated function drupal_get_profile():
in drupal:8.3.0 and is removed from drupal:9.0.0.
Use the install_profile container parameter or \Drupal::installProfile()
instead. If you are accessing the value before it is written to
configuration during the installer use the $install_state global. If you
need to access the value before container is available you can use
BootstrapConfigStorageFactory to load the value directly from
configuration.
------ -----------------------------------------------------------------------------

------ -------------------------------------------------------------------------------------------------------
Line src/Tests/SettingsFormTest.php
------ -------------------------------------------------------------------------------------------------------
17 Class Drupal\dropguard\Tests\SettingsFormTest extends deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
35 Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ -------------------------------------------------------------------------------------------------------

[ERROR] Found 6 errors

Comments

e.bogatyrev created an issue. See original summary.

e.bogatyrev’s picture

StatusFileSize
new2.71 KB

Hi there,

Please find and test the patch.

Scan results after patch applying.

------------------------------------------------------------
6/6 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

[OK] No errors
------------------------------------------------------------

Thanks

e.bogatyrev’s picture

Assigned: e.bogatyrev » Unassigned
Status: Active » Needs review
sutharsan’s picture

Assigned: Unassigned » sutharsan
Issue tags: +Drupal 9 porting weekend

Reviewing...

sutharsan’s picture

Assigned: sutharsan » Unassigned
StatusFileSize
new537 bytes
new3.08 KB

Upgrade Status result after this patch

================================================================================
Drop Guard, --
Scanned on Fri, 05/22/2020 - 12:16

No known issues found.