Page MenuHomeDevCentral

Simplify maxPropertyLength computation
ClosedPublic

Authored by DorianWinty on Feb 17 2022, 21:18.
Tags
None
Referenced Files
F3750879: D2536.id.diff
Sun, Nov 17, 04:23
F3750860: D2536.diff
Sun, Nov 17, 04:04
Unknown Object (File)
Fri, Nov 15, 06:33
Unknown Object (File)
Fri, Nov 15, 02:02
Unknown Object (File)
Tue, Nov 12, 04:36
Unknown Object (File)
Tue, Nov 12, 00:59
Unknown Object (File)
Mon, Nov 11, 02:52
Unknown Object (File)
Sun, Nov 10, 13:05
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.