Drupal-check identifies a bunch of issues needing fixing for Drupal 9. Opening an issue to track this.

Issue fork rng-3102848

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

freelock created an issue. See original summary.

freelock’s picture

92 errors found:

------ ------------------------------------------------------------------------------
Line rng.tokens.inc
------ ------------------------------------------------------------------------------
78 Call to deprecated function format_date().
82 Call to deprecated function format_date().
86 Call to deprecated method url() of class Drupal\Core\Entity\EntityInterface.
90 Call to deprecated method url() of class Drupal\Core\Entity\EntityInterface.
------ ------------------------------------------------------------------------------

------ ------------------------------------------------------------------------------------------
Line rng_views/rng_views.module
------ ------------------------------------------------------------------------------------------
50 Call to deprecated method urlInfo() of class Drupal\Core\Config\Entity\ConfigEntityBase.
75 Call to deprecated method entityManager() of class Drupal.
80 Call to deprecated function drupal_set_message().
------ ------------------------------------------------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Breadcrumb/GroupBreadcrumbBuilder.php
------ ----------------------------------------------------------------------------------
36 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
------ ----------------------------------------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Breadcrumb/RuleComponentBreadcrumbBuilder.php
------ ----------------------------------------------------------------------------------
36 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
------ ----------------------------------------------------------------------------------

------ --------------------------------------------------------
Line src/Element/Registrants.php
------ --------------------------------------------------------
448 Call to deprecated function entity_get_form_display().
574 Call to deprecated function entity_get_form_display().
------ --------------------------------------------------------

------ ------------------------------------------------------------
Line src/Entity/RegistrationType.php
------ ------------------------------------------------------------
64 Call to deprecated method entityManager() of class Drupal.
------ ------------------------------------------------------------

------ --------------------------------------------------------
Line src/Entity/RngEventType.php
------ --------------------------------------------------------
430 Call to deprecated function entity_get_form_display().
479 Call to deprecated function entity_get_form_display().
------ --------------------------------------------------------

------ ------------------------------------------
Line src/EventMeta.php
------ ------------------------------------------
292 Call to deprecated function db_select().
------ ------------------------------------------

------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/RegistrationWaitlistSubscriber.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\rng\EventSubscriber\RegistrationWaitListSubscriber was not found while trying to analyse it - autoloading is probably not configured properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/Entity/RegistrantDeleteForm.php
------ ---------------------------------------------------
42 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/Entity/RegistrantForm.php
------ ---------------------------------------------------
55 Call to deprecated function drupal_set_message().
58 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/Entity/RegistrantTypeDeleteForm.php
------ ---------------------------------------------------
59 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/EventAccessForm.php
------ ---------------------------------------------------
355 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/EventAccessResetForm.php
------ ---------------------------------------------------
141 Call to deprecated function drupal_set_message().
145 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ --------------------------------------------------------
Line src/Form/EventSettingsForm.php
------ --------------------------------------------------------
55 Call to deprecated function entity_get_form_display().
81 Call to deprecated function drupal_set_message().
------ --------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/EventTypeAccessDefaultsForm.php
------ ---------------------------------------------------
316 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/EventTypeDeleteForm.php
------ ---------------------------------------------------
42 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ --------------------------------------------------------
Line src/Form/EventTypeFieldMappingForm.php
------ --------------------------------------------------------
100 Call to deprecated function drupal_set_message().
105 Call to deprecated function entity_get_form_display().
------ --------------------------------------------------------

------ -----------------------------------------------------------------------------------
Line src/Form/EventTypeForm.php
------ -----------------------------------------------------------------------------------
366 Call to deprecated function drupal_set_message().
403 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
404 Call to deprecated method l() of class Drupal\Core\Form\FormBase.
406 Call to deprecated function drupal_set_message().
426 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
432 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/EventTypeRuleDeleteAll.php
------ ---------------------------------------------------
129 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/GroupDeleteForm.php
------ ---------------------------------------------------
42 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/GroupForm.php
------ ---------------------------------------------------
50 Call to deprecated function drupal_set_message().
53 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/MessageActionForm.php
------ ---------------------------------------------------
122 Call to deprecated function drupal_set_message().
135 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Form/MessageListForm.php
------ ----------------------------------------------------------------------------------
201 Call to deprecated function drupal_set_message().
261 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
270 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
------ ----------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/PluginConditionSettingsForm.php
------ ---------------------------------------------------
98 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Form/RegistrationDeleteForm.php
------ ----------------------------------------------------------------------------------
24 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
42 Call to deprecated function drupal_set_message().
------ ----------------------------------------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Form/RegistrationRegistrantEditForm.php
------ ----------------------------------------------------------------------------------
39 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
40 Call to deprecated method l() of class Drupal\Core\Form\FormBase.
------ ----------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/RegistrationTypeDeleteForm.php
------ ---------------------------------------------------
50 Call to deprecated function drupal_set_message().
70 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Form/RegistrationTypeForm.php
------ ----------------------------------------------------------------------------------
94 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
95 Call to deprecated method l() of class Drupal\Core\Form\FormBase.
97 Call to deprecated function drupal_set_message().
------ ----------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Form/RngSettingsForm.php
------ ---------------------------------------------------
136 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/RuleComponentForm.php
------ ---------------------------------------------------
132 Call to deprecated function drupal_set_message().
135 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Form/RuleDeleteForm.php
------ ---------------------------------------------------
42 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ----------------------------------------------------------------------------------
Line src/Lists/RegistrationListBuilder.php
------ ----------------------------------------------------------------------------------
96 Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.
121 Call to deprecated function entity_load().
140 Call to deprecated function format_date().
------ ----------------------------------------------------------------------------------

------ -------------------------------------------------------------------------------------
Line src/Lists/RegistrationTypeListBuilder.php
------ -------------------------------------------------------------------------------------
26 Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder.
------ -------------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Lists/RuleListBuilder.php
------ ---------------------------------------------------
77 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ --------------------------------------------------------------------------------------------------
Line src/Permissions.php
------ --------------------------------------------------------------------------------------------------
14 Usage of deprecated trait Drupal\Core\Routing\UrlGeneratorTrait in class Drupal\rng\Permissions.
------ --------------------------------------------------------------------------------------------------

------ ---------------------------------------------------
Line src/Plugin/Action/CourierTemplateCollection.php
------ ---------------------------------------------------
103 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ ---------------------------------------------------
Line src/Plugin/Condition/RuleScheduler.php
------ ---------------------------------------------------
101 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------

------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/EntityReferenceSelection/GroupSiblings.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
22 Class Drupal\rng\Plugin\EntityReferenceSelection\GroupSiblings extends deprecated class Drupal\Core\Entity\Plugin\EntityReferenceSelection\SelectionBase.
28 Call to method buildEntityQuery() of deprecated class Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------

------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/EntityReferenceSelection/RegistrationGroupSelection.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 Class Drupal\rng\Plugin\EntityReferenceSelection\RegistrationGroupSelection extends deprecated class Drupal\Core\Entity\Plugin\EntityReferenceSelection\SelectionBase.
26 Call to method buildEntityQuery() of deprecated class Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------ -----------------------------------------------------------------------------------------------------------------------------------------
Line src/Routing/Enhancer/RngRouteEnhancer.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
12 Class Drupal\rng\Routing\Enhancer\RngRouteEnhancer implements deprecated interface Drupal\Core\Routing\Enhancer\RouteEnhancerInterface.
------ -----------------------------------------------------------------------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngEventAccessTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngEventSettingsTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngEventTypeAccessDefaultsTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngEventTypeMappingFormTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngEventTypeTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngRegistrantRouteTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngRegistrationTypeTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngSettingsFormTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngSiteTestBase.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Tests/RngWebTestBase.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Functional/RngBrowserTestBase.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Functional/RngEventAccessWebTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngEventAccessTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngEventMetaTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngEventTypeEntityTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngKernelTestBase.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngMessageRules.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngRegistrationAccessTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngRegistrationEntityTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/RngScheduledRuleTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line tests/src/Kernel/Views/RngViewsTest.php
------ -------------------------------------------------------------------------
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
------ -------------------------------------------------------------------------

[ERROR] Found 92 errors

freelock’s picture

Status: Active » Fixed

Fixed on 3.x branch.

  • freelock committed a9961f2 on 3.x
    Issue #3102848: Drupal 9 compatibility - replace event.manager usage
    
freelock’s picture

Version: 8.x-2.x-dev » 3.x-dev

Just updating that this is fixed on the 3.x branch, and not in 2.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ilsodas made their first commit to this issue’s fork.