Issue #3094454 by jonathan1055, longwave: Fix remaining @deprecated (missing a change record) manually and enable the coding standard

merge-requests/2419/head
xjm 2020-04-27 12:57:27 -05:00
parent b67ddac362
commit bd64783975
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,8 @@
*
* @deprecated in drupal:8.4.0 and is removed from drupal:9.0.0. This is
* the deprecation message for deprecated_test_function().
*
* @see https://www.drupal.org/project/drupal/issues/2870194
*/
function deprecation_test_function() {
@trigger_error('This is the deprecation message for deprecation_test_function().', E_USER_DEPRECATED);

View File

@ -42,6 +42,7 @@
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
</rule>
<rule ref="Drupal.Commenting.DataTypeNamespace"/>
<rule ref="Drupal.Commenting.Deprecated"/>
<rule ref="Drupal.Commenting.DocComment">
<!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween,
ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace,