Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
drupal-check against mass_contact-8.x-1.x-dev (4 Feb 2019)
------ --------------------------------------------------------
Line mass_contact.install
------ --------------------------------------------------------
15 Call to deprecated function entity_get_form_display().
------ --------------------------------------------------------
------ ------------------------------------------------
Line mass_contact.module
------ ------------------------------------------------
62 Call to deprecated method l() of class Drupal.
63 Call to deprecated method l() of class Drupal.
64 Call to deprecated method l() of class Drupal.
65 Call to deprecated method l() of class Drupal.
------ ------------------------------------------------
------ ---------------------------------------------------
Line src/Form/CategoryDeleteForm.php
------ ---------------------------------------------------
41 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/CategoryForm.php
------ ---------------------------------------------------
128 Call to deprecated function drupal_set_message().
134 Call to deprecated function drupal_set_message().
138 Call to deprecated method urlInfo() of class
Drupal\Core\Entity\EntityInterface.
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/MassContactMessageConfirmForm.php
------ ---------------------------------------------------
285 Call to deprecated function drupal_set_message().
292 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Tests/Form/AdminSettingsFormTest.php
------ -----------------------------------------------------------------------
14 Class Drupal\mass_contact\Tests\Form\AdminSettingsFormTest extends
deprecated class Drupal\system\Tests\System\SystemConfigFormTestBase.
27 Call to method setUp() of deprecated class
Drupal\simpletest\WebTestBase.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Tests/Form/EmailBodyFormTest.php
------ -----------------------------------------------------------------------
13 Class Drupal\mass_contact\Tests\Form\EmailBodyFormTest extends
deprecated class Drupal\system\Tests\System\SystemConfigFormTestBase.
26 Call to method setUp() of deprecated class
Drupal\simpletest\WebTestBase.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Tests/Form/EmailHeaderFormTest.php
------ -----------------------------------------------------------------------
14 Class Drupal\mass_contact\Tests\Form\EmailHeaderFormTest extends
deprecated class Drupal\system\Tests\System\SystemConfigFormTestBase.
27 Call to method setUp() of deprecated class
Drupal\simpletest\WebTestBase.
33 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------
------ -------------------------------------------------
Line tests/src/Functional/Form/CategoryFormTest.php
------ -------------------------------------------------
43 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
94 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ -------------------------------------------------
------ ------------------------------------------------------------------------
Line tests/src/Kernel/CategoryAccessControlHandlerTest.php
------ ------------------------------------------------------------------------
16 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class
Drupal\Tests\mass_contact\Kernel\CategoryAccessControlHandlerTest.
------ ------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Functional\MassContactTestBase)
------ ---------------------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ ---------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Kernel\CategoryAccessControlHandlerTest)
------ ------------------------------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ ------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Kernel\Entity\MassContactCategoryTest)
------ ----------------------------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ ----------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Kernel\MassContactTest)
------ -------------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ -------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Kernel\OptOutTest)
------ --------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ --------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/CategoryCreationTrait.php (in context of class Drupal\Tests\mass_contact\Kernel\PermissionsTest)
------ -------------------------------------------------------------------------------------------------------------------
21 Call to deprecated method strtolower() of class
Drupal\Component\Utility\Unicode.
------ -------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line tests/src/Kernel/Entity/MassContactCategoryTest.php
------ ------------------------------------------------------------------------
20 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class
Drupal\Tests\mass_contact\Kernel\Entity\MassContactCategoryTest.
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line tests/src/Kernel/MassContactTest.php
------ ------------------------------------------------------------------------
18 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class
Drupal\Tests\mass_contact\Kernel\MassContactTest.
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line tests/src/Kernel/OptOutTest.php
------ ------------------------------------------------------------------------
18 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class
Drupal\Tests\mass_contact\Kernel\OptOutTest.
------ ------------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line tests/src/Kernel/Plugin/MassContact/GroupingMethod/RoleTest.php
------ -------------------------------------------------------------------------
19 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class
Drupal\Tests\mass_contact\Kernel\Plugin\MassContact\GroupingMethod\Role
Test.
------ -------------------------------------------------------------------------
[ERROR] Found 31 errors
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff-3051118-4-7.txt | 1004 bytes | -enzo- |
#7 | drupal_9_deprecated_code-3051118-7.patch | 19.4 KB | -enzo- |
#4 | drupal_9_deprecated_code-3051118-4.patch | 18.29 KB | Sergiu Stici |
#2 | drupal_9_deprecated_code-3051118-2.patch | 11.45 KB | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #4
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedComment #6
waverate CreditAttribution: waverate commenteddrupal-check against mass_contact-8.x-1.x-dev (4 Feb 2019) with patch at #4 applied.
Still has a few errors:
Comment #7
-enzo- CreditAttribution: -enzo- at weKnow Inc commentedHi @waverate
After the test, the patch with a current branch only was error remains, I did a fix for that and all looks ok now.
Comment #8
-enzo- CreditAttribution: -enzo- at weKnow Inc commentedComment #9
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant for Drupal India Association commented