Improve doc block for Unicode::truncate()

Created on 9 April 2013, over 11 years ago
Updated 10 May 2024, 7 months ago

Problem/Motivation

Improve documention in \Drupal\Component\Utility\Unicode::truncate

Steps to reproduce

Proposed resolution

Add optional to the descriptions for $wordsafe, $add_ellipsis, and $min_wordsafe_length.
Refer to the latest patch which has already made the change.

Remaining tasks

Move the documentation changes in the latest patch to an MR.

User interface changes

API changes

Data model changes

Release notes snippet


Original report

I assume that we are now in code cleanup phase. I use PhpStorm to find possible bugs and problems in the Drupal 8 core. Normally I will not alter code flow. If I find problems in a file, which I will not fix, but find suspicious. I'll mention it in the text here.

For changes in the PHP Documentation I use this node as guide: http://drupal.org/node/1354

Checked: unicode.inc file.

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
OtherΒ  β†’

Last updated about 8 hours ago

Created by

πŸ‡©πŸ‡ͺGermany ro-no-lo

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024