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\config\Tests\ConfigEventsTest::testConfigEvents includes the following call on line 36 but doesn't assign the value to anything, hence the call is redundant.
\Drupal::state()->get('config_events_test.event', FALSE);
Proposed resolution
Remove it
Remaining tasks
Remove it
Review
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | 2644216-3.patch | 733 bytes | jordanpagewhite |
Comments
Comment #2
jordanpagewhite CreditAttribution: jordanpagewhite as a volunteer commentedComment #3
jordanpagewhite CreditAttribution: jordanpagewhite as a volunteer commentedI removed the call on line 36. Let me know if there is anything else to do with this task.
Comment #4
swentel CreditAttribution: swentel commentedYeah, it was introduced in #2175917: Clean up configuration system events - it doesn't make much sense for it to be there.
Comment #5
alexpottCommitted 9651352 and pushed to 8.0.x and 8.1.x. Thanks!