Commit 52303775 authored by Jess's avatar Jess
Browse files

Issue #3094454 by jonathan1055, longwave: Fix remaining @deprecated (missing a...

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

(cherry picked from commit bd647839)
parent 9fcad936
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -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,