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.
By xjm on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.5.x
Introduced in version:
9.5.0
Issue links:
Description:
\Drupal\Component\Assertion\Handle
is deprecated in Drupal 10.1.x. For this reason, example.settings.local.php
has been updated to change the default assertion handling from:
assert_options(ASSERT_ACTIVE, TRUE);
\Drupal\Component\Assertion\Handle::register();
to:
assert_options(ASSERT_ACTIVE, TRUE);
assert_options(ASSERT_EXCEPTION, TRUE);
Site owners using settings.local.php
for development sites can update their workflow with this change for forward-compatibility and consistency.
Impacts:
Site builders, administrators, editors