Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Drupal Check reported these issues:
➜ d9 git:(8.8.x) ✗ ./vendor/mglaman/drupal-check/drupal-check --drupal-root=/Applications/MAMP/htdocs/d9 modules/contrib/lightning_core
81/81 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------------------------------------
Line modules/acquia_telemetry/tests/src/Kernel/TelemetryTest.php
------ ----------------------------------------------------------------------------------------------
32 Call to deprecated method setExpectedException() of class Drupal\KernelTests\KernelTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Backward compatibility for PHPUnit 4 will no longer be supported.
------ ----------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line modules/lightning_search/lightning_search.install
------ -----------------------------------------------------------------------------
19 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.
------ -----------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line tests/src/Kernel/EntityDescriptionTest.php
------ -----------------------------------------------------------------------------------
66 Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:
https://github.com/sebastianbergmann/phpunit/issues/3369
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line tests/src/Kernel/Update/Update360Test.php
------ -----------------------------------------------------------------------------------
49 Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:
https://github.com/sebastianbergmann/phpunit/issues/3369
50 Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:
https://github.com/sebastianbergmann/phpunit/issues/3369
------ -----------------------------------------------------------------------------------
[ERROR] Found 5 errors
Comment | File | Size | Author |
---|---|---|---|
#2 | deprecated_code_fix_3096212_2.patch | 2.64 KB | pranit84 |
Comments
Comment #2
pranit84Patch created to fix the Deprecations.
Earlier for some dependency issue was there:
And fix this, I used the following commands:
Comment #3
pranit84Comment #4
amitgoyal CreditAttribution: amitgoyal at Acquia commentedThanks @pranit84, looks good to me.
Comment #6
phenaproximaMade a few small changes needed to get this to pass on Travis CI, then merged it into the 8.x-5.x branch when it went green. So, all set. Thanks!