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.
Problem/Motivation
drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/ldap 055c07c88816ed6226e0e8325e6a874fc21e023f
source : http://cgit.drupalcode.org/ldap
------ -----------------------------------------------------------
Line ldap_authentication/src/Controller/LoginValidatorBase.php
------ -----------------------------------------------------------
622 Call to deprecated method format() of class
Drupal\Component\Utility\SafeMarkup.
622 Call to method format() of deprecated class
Drupal\Component\Utility\SafeMarkup.
------ -----------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line ldap_authorization/tests/src/Kernel/LdapAuthorizationProviderIntegrationTests.php
------ -----------------------------------------------------------------------------------
Class
Drupal\Testsuthorization_drupal_user\Kernel\LdapAuthorizationPro
viderIntegrationTests was not found while trying to analyse it -
autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------
------ -------------------------------------------------
Line ldap_query/src/Plugin/views/query/LdapQuery.php
------ -------------------------------------------------
318 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
318 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
------ -------------------------------------------------
------ -------------------------------------------------
Line ldap_servers/src/Processor/TokenProcessor.php
------ -------------------------------------------------
192 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
192 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
296 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
296 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
300 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
300 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
428 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
428 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
485 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
485 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
486 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
486 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
487 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
487 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
491 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
491 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
493 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
493 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
498 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
498 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
499 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
499 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
500 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
500 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
554 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
554 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
558 Call to deprecated method checkPlain() of class
Drupal\Component\Utility\SafeMarkup.
558 Call to method checkPlain() of deprecated class
Drupal\Component\Utility\SafeMarkup.
------ -------------------------------------------------
------ ----------------------------------------------------------------
Line ldap_servers/tests/src/Kernel/ServerTests.php
------ ----------------------------------------------------------------
Class Drupal\Tests\ldap_servers\Unit\ServerTests was not found
while trying to analyse it - autoloading is probably not
configured properly.
------ ----------------------------------------------------------------
------ ------------------------------------------------------------------
Line ldap_servers/tests/src/Kernel/UnportedTests.php
------ ------------------------------------------------------------------
Class Drupal\Tests\ldap_servers\Unit\UnportedTests was not found
while trying to analyse it - autoloading is probably not
configured properly.
------ ------------------------------------------------------------------
------ ----------------------------------------------------------------
Line ldap_servers/tests/src/Unit/TokenTests.php
------ ----------------------------------------------------------------
Class Drupal\Tests\ldap_servers\Unit\LdapExplodeDnMock was not
found while trying to analyse it - autoloading is probably not
configured properly.
------ ----------------------------------------------------------------
------ -------------------------------------------------------
Line ldap_user/src/Form/LdapUserTestForm.php
------ -------------------------------------------------------
170 Call to deprecated method provisionEnabled() of class
Drupal\ldap_user\Form\LdapUserTestForm.
196 Calls to function dpm should not exist.
------ -------------------------------------------------------
------ --------------------------------------------------------------------
Line ldap_user/tests/src/Kernel/FieldProviderTests.php
------ --------------------------------------------------------------------
Class Drupal\Tests\ldap_user\Unit\FieldProviderTests was not found
while trying to analyse it - autoloading is probably not
configured properly.
------ --------------------------------------------------------------------
[ERROR] Found 70 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#5 | deprecate_code_report-3042927-5.patch | 10.32 KB | Tolyan4ik |
Comments
Comment #3
grahlComment #4
grahlComment #5
Tolyan4ik CreditAttribution: Tolyan4ik at EPAM Systems commentedPlease check
Comment #8
grahlThanks, added a very minor change with a (string) cast instead of tostring and a helper variable for the connection.