Verified Commit 2dc84b0e authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3497102 by quietone, smustgrave: Fix LineLength for doc block paragraphs

parent 89c5a174
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1251,7 +1251,8 @@
 *   https://www.drupal.org/docs/theming-drupal
 * - Modules: Modules add to or alter the behavior and functionality of Drupal,
 *   by using one or more of the methods listed below. For more information
 *   about creating modules, see https://www.drupal.org/docs/creating-custom-modules
 *   about creating modules, see
 *   https://www.drupal.org/docs/creating-custom-modules
 * - Installation profiles: Installation profiles can be used to
 *   create distributions, which are complete specific-purpose packages of
 *   Drupal including additional modules, themes, and data. For more
+10 −8
Original line number Diff line number Diff line
@@ -15,8 +15,9 @@
 *
 * The container is built by the kernel and passed in to this class which stores
 * it statically. The container always contains the services from
 * \Drupal\Core\CoreServiceProvider, the service providers of enabled modules and any other
 * service providers defined in $GLOBALS['conf']['container_service_providers'].
 * \Drupal\Core\CoreServiceProvider, the service providers of enabled modules
 * and any other service providers defined in
 * $GLOBALS['conf']['container_service_providers'].
 *
 * This class exists only to support legacy code that cannot be dependency
 * injected. If your code needs it, consider refactoring it to be object
@@ -479,8 +480,9 @@ public static function keyValue($collection) {
   * Use this to store machine-generated data, local to a specific environment
   * that does not need deploying and does not need human editing; for example,
   * the last time cron was run. Data which needs to be edited by humans and
   * needs to be the same across development, production, etc. environments
   * (for example, the system maintenance message) should use \Drupal::config() instead.
   * needs to be the same across development, production, etc. environments (for
   * example, the system maintenance message) should use \Drupal::config()
   * instead.
   *
   * @return \Drupal\Core\State\StateInterface
   */
@@ -616,10 +618,10 @@ public static function languageManager() {
  /**
   * Returns the CSRF token manager service.
   *
   * The generated token is based on the session ID of the current user. Normally,
   * anonymous users do not have a session, so the generated token will be
   * different on every page request. To generate a token for users without a
   * session, manually start a session prior to calling this function.
   * The generated token is based on the session ID of the current user.
   * Normally, anonymous users do not have a session, so the generated token
   * will be different on every page request. To generate a token for users
   * without a session, manually start a session prior to calling this function.
   *
   * @return \Drupal\Core\Access\CsrfTokenGenerator
   *   The CSRF token manager.
+3 −3
Original line number Diff line number Diff line
@@ -414,9 +414,9 @@ public static function decodeEntities(string $text): string {
   * Html::decodeEntities() will convert all HTML entities to UTF-8 bytes,
   * including "&eacute;" and "&lt;" to "é" and "<".
   *
   * When constructing @link theme_render render arrays @endlink passing the output of Html::escape() to
   * '#markup' is not recommended. Use the '#plain_text' key instead and the
   * renderer will autoescape the text.
   * When constructing @link theme_render render arrays @endlink passing the
   * output of Html::escape() to '#markup' is not recommended. Use the
   * '#plain_text' key instead and the renderer will autoescape the text.
   *
   * @param string $text
   *   The input text.
+13 −12
Original line number Diff line number Diff line
@@ -12,17 +12,18 @@ class Unicode {
  /**
   * Matches Unicode characters that are word boundaries.
   *
   * Characters with the following General_category (gc) property values are used
   * as word boundaries. While this does not fully conform to the Word Boundaries
   * algorithm described in http://unicode.org/reports/tr29, as PCRE does not
   * contain the Word_Break property table, this simpler algorithm has to do.
   * Characters with the following General_category (gc) property values are
   * used as word boundaries. While this does not fully conform to the Word
   * Boundaries algorithm described in http://unicode.org/reports/tr29, as PCRE
   * does not contain the Word_Break property table, this simpler algorithm has
   * to do.
   * - Cc, Cf, Cn, Co, Cs: Other.
   * - Pc, Pd, Pe, Pf, Pi, Po, Ps: Punctuation.
   * - Sc, Sk, Sm, So: Symbols.
   * - Zl, Zp, Zs: Separators.
   *
   * Non-boundary characters include the following General_category (gc) property
   * values:
   * Non-boundary characters include the following General_category (gc)
   * property values:
   * - Ll, Lm, Lo, Lt, Lu: Letters.
   * - Mc, Me, Mn: Combining Marks.
   * - Nd, Nl, No: Numbers.
@@ -190,8 +191,8 @@ public static function convertToUtf8($data, $encoding) {
  /**
   * Truncates a UTF-8-encoded string safely to a number of bytes.
   *
   * If the end position is in the middle of a UTF-8 sequence, it scans backwards
   * until the beginning of the byte sequence.
   * If the end position is in the middle of a UTF-8 sequence, it scans
   * backwards until the beginning of the byte sequence.
   *
   * Use this function whenever you want to chop off a string at an unsure
   * location. On the other hand, if you're sure that you're splitting on a
@@ -378,10 +379,10 @@ public static function strcasecmp($str1, $str2) {
   * When text containing an invalid UTF-8 lead byte (0xC0 - 0xFF) is presented
   * as UTF-8 to Internet Explorer 6, the program may misinterpret subsequent
   * bytes. When these subsequent bytes are HTML control characters such as
   * quotes or angle brackets, parts of the text that were deemed safe by filters
   * end up in locations that are potentially unsafe; An onerror attribute that
   * is outside of a tag, and thus deemed safe by a filter, can be interpreted
   * by the browser as if it were inside the tag.
   * quotes or angle brackets, parts of the text that were deemed safe by
   * filters end up in locations that are potentially unsafe; An onerror
   * attribute that is outside of a tag, and thus deemed safe by a filter, can
   * be interpreted by the browser as if it were inside the tag.
   *
   * The function does not return FALSE for strings containing character codes
   * above U+10FFFF, even though these are prohibited by RFC 3629.
+3 −1
Original line number Diff line number Diff line
@@ -9,7 +9,9 @@
/**
 * AJAX command for a JavaScript Drupal.message() call.
 *
 * AJAX command that allows you to add messages from an Ajax response. The command will create a new Drupal.Message() object and call its addMessage() method.
 * AJAX command that allows you to add messages from an Ajax response. The
 * command will create a new Drupal.Message() object and call its addMessage()
 * method.
 *
 * Usage examples:
 * Here are examples of how to suppress announcements:
Loading