- Issue created by @quietone
- First commit to issue fork.
- last update
over 1 year ago 29,559 pass - @lucienchalom opened merge request.
- Status changed to Needs review
over 1 year ago 2:06pm 27 June 2023 - π§π·Brazil lucienchalom
I moved the deprecation error triger in classes:
3 core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
2 core/lib/Drupal/Core/Asset/CssCollectionOptimizer.phpand deleted the redundant trigger from
4 core/lib/Drupal/Core/Http/RequestStack.phpI am not really sure how to proceed with
5 core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php
6 core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php
because they are "arbitrarily deprecated in order to test the deprecation error handling properties of DrupalStandardsListener."and
1 core/lib/Drupal/Component/Plugin/PluginHelper.php
does not accept a contruct.I tried to look for other classes deprecated but could not find any concrete, instantiated classes.
please help and review
- Status changed to RTBC
over 1 year ago 3:28pm 27 June 2023 - πΊπΈUnited States smustgrave
I think this is good but not sure the policy for moving existing deprecation triggers.
- last update
over 1 year ago 29,567 pass - last update
over 1 year ago 29,571 pass - last update
over 1 year ago 29,801 pass - Status changed to Needs work
over 1 year ago 7:31am 4 July 2023 - π³πΏNew Zealand quietone
@lucienchalom, thanks for working on this! This is a good start. For PluginHelper and RequestStack add a constructor (stated in policy) and then the test will need to be changed to instantiate the class. And the same for the test modules because we should be using the standard set in policy and well as testing that.
@smustgrave, There is no policy for moving deprecations. There is a policy for concrete classes and core needs to change to met the current standard.
The issue summary has a sample grep to find the instances that need to be changed. Has anyone worked to improve on that or verify that it is accurate?