Page MenuHomeDevCentral

Simplify maxPropertyLength computation
ClosedPublic

Authored by DorianWinty on Feb 17 2022, 21:18.
Tags
None
Referenced Files
F3913399: D2536.id6400.diff
Thu, Dec 19, 09:54
F3913388: D2536.id6402.diff
Thu, Dec 19, 09:50
F3912827: D2536.diff
Thu, Dec 19, 07:04
Unknown Object (File)
Wed, Dec 18, 06:10
Unknown Object (File)
Fri, Dec 13, 12:40
Unknown Object (File)
Fri, Dec 13, 12:23
Unknown Object (File)
Fri, Dec 13, 12:10
Unknown Object (File)
Thu, Dec 12, 10:07
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.