Problem/Motivation
drupal-check easy_breadcrumb
7/7 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -----------------------------------------------------------------------------------
Line src/EasyBreadcrumbBuilder.php
------ -----------------------------------------------------------------------------------
348 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode:
in drupal:8.6.0 and is removed from drupal:9.0.0. Use
mb_strtolower() instead.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line tests/src/Kernel/EasyBreadcrumbBuilderTest.php
------ -----------------------------------------------------------------------------------
103 Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:
https://github.com/sebastianbergmann/phpunit/issues/3369
------ -----------------------------------------------------------------------------------
[ERROR] Found 2 errors
Thank's
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | easy_breadcrumb-d9_readiness-3100906-2.patch | 1.04 KB | jhuhta |
Comments
Comment #2
jhuhta commentedFixed the former issue and added core_version_requirement.
I didn't touch the test, as seeing that deprecation and the replacement function (assertIsString) would have required phpunit 8, but Drupal uses ^6.5 || ^7 in D9 still, if I got it right.
Comment #3
renatog commentedMakes sense
Following the documentation
Comment #5
renatog commentedCommitted to the dev branch.
Thank you so much.
Best,
Comment #6
gmangones commentedThank everybody.
Have a nice day.