Page MenuHomeDevCentral

Simplify maxPropertyLength computation
ClosedPublic

Authored by DorianWinty on Feb 17 2022, 21:18.
Tags
None
Referenced Files
F3603510: D2536.id6400.diff
Sun, Sep 29, 08:15
F3603226: D2536.diff
Sun, Sep 29, 06:35
Unknown Object (File)
Wed, Sep 18, 03:55
Unknown Object (File)
Sat, Sep 14, 04:25
Unknown Object (File)
Sat, Sep 14, 04:25
Unknown Object (File)
Sat, Sep 14, 04:25
Unknown Object (File)
Fri, Sep 6, 06:45
Unknown Object (File)
Fri, Sep 6, 06:20
Subscribers
None

Details

Summary

maxPropertyLength modify for making more easy

Diff Detail

Repository
rKREPORT Keruald Report
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

DorianWinty created this revision.
src/Output/MarkdownOutput.php
34

min() instead of max() if the goal is to get at least 8 characters?

dereckson retitled this revision from modify maxpropertylength to Simplify maxPropertyLength computation.Feb 17 2022, 21:23
src/Output/MarkdownOutput.php
34

if i put min()
when $propertyMaxLength is more than 8 the number will stay at 8
but if i use max
if $propertyMaxLength > 8 then it will be the value of the property

This revision is now accepted and ready to land.Feb 17 2022, 21:45
This revision was automatically updated to reflect the committed changes.