Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2021 at 09:45 UTC
Updated:
24 Aug 2022 at 01:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
spokjeMR!1598: D9.4, changed deprecation message to mention removal in D10 instead of D11, changed deprecation test as well.
MR!1599: D10.0, removed drupal_js_defaults() and the deprecation test.
Comment #5
spokjeComment #6
murilohp commentedBoth MR's looks good to me, just for a reference, I tested the specific test of MR1598. Using the command bellow:
php vendor/bin/phpunit -v -c /app/phpunit.xml core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php --filter testDeprecatedDrupalJsDefaultsAnd the test passed correctly:

About the MR1599, I checkout the branch
3256518-D10-Remove-drupal_js_defaultsand searched fordrupal_js_defaultson the base code(10.0.x) and nothing was found.Moving to RTBC.
Comment #7
alexpott@murilohp thanks for rtbc-ing this issue. Please do not attach screenshots of PHPUnit runs... the CI tells us this and it looks like an attempt to game the credit system.
Committed 2d52f94 and pushed to 10.0.x. Thanks!
Committed 038c7dd and pushed to 9.4.x. Thanks!
Comment #13
quietone commentedAdded this to the deprecation CR because this changes the deprecation message in 9.4.