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.
php drupal-check.phar modules/contrib/entity_activity/
84/84 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line src/EntityActivityManager.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\entity_Activity\PurgeInterval was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------
Line src/Form/GeneratorDeleteForm.php
------ ---------------------------------------------------
41 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/Field/FieldFormatter/LogReadFormatter.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\entity_Activity\Plugin\Field\FieldFormatter\LogReadFormatter was not found while trying to analyse it - autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/LogGeneratorInterface.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
14 Interface Drupal\entity_activity\Plugin\LogGeneratorInterface extends deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line src/PurgeInterval.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\entity_Activity\PurgeInterval was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------
[ERROR] Found 5 errors
Comment | File | Size | Author |
---|---|---|---|
#2 | deprecated-3073443-2.patch | 1.46 KB | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere's the patch, please review.
Comment #4
flocondetoileThanks for your help
This commit fix the following issues
- removed drupal_set_message()
- fix the typo in namespace (entity_Activity instead if entity_activity)
- Remove the PurgeInterval class (wich has has a typo issue) in favor of the final class Interval.
Could you rerun drupal-check again ?
There should be only one error about ConfigurablePluginInterface. But this error needs its own issue because I don't want break sites under 8.6.x. The fix about this deprecated interface could be committed once support for 8.6.x is dropped.
Comment #5
flocondetoileCreated #3073475: Remove deprecated ConfigurablePluginInterface once support 8.6.x is dropped
Comment #6
flocondetoiledrupal-check report added on the child issue