From df10b6819753f1a799fa51b8211a5f9c2c162f04 Mon Sep 17 00:00:00 2001 From: Jonathan Vollebregt Date: Sun, 12 Nov 2023 07:00:00 +0100 Subject: [PATCH] TablePlugin: Add comment on interaction with ArrayLimitPlugin --- build/kint.phar | Bin 443479 -> 443896 bytes src/Parser/TablePlugin.php | 6 ++++++ 2 files changed, 6 insertions(+) diff --git a/build/kint.phar b/build/kint.phar index ae74cddd9bb3b04d2ceee5bd318c5d052515af98..e2897cda9ddb881acce5113c1c5559c659f02771 100644 GIT binary patch delta 568 zcmZWlJ!lj`6kfek62Vg|g;+ciJP9V3%H}{Z*IWdZpkTm4c(*&b9T?v%GqW5Ul}nJ2 zK!~7X0wGp5c53615Ea}e*jXuJAz0Z60gGVeo4rn99>e?jzW2WG^YYOC%FwIL%JHqE zK`{Sr?6m*C)b{F6?hl@PkXM%S$^njpy}VL-biF$<0oSw>b+}AU7z~}%1Rd#Om^22n zEAozX(<*ICsvqImNy-3y1C;NG2*OyZ$OsQo3R(hetUCmfz+p=X3o;VqWQa;-;It

6$Em%1xILkVi)u16lOs)7& z1;nVF=Ms>hv0c9bW+g?E+67x*81T8EdCEXisAnA%s??7$m`~8e%M8nPI!Qz{23A9+ zQwWhrJ7^2nr(+qZLIXx5Mp(823ybw^A!4NPvaig7($waSoU(g-Vc~IYef4g6bUm3V zU0T|~5=WWiP;Unh-)K#pxw!E7!-+Q^pY6Z>Q~j~K*L!*H-mu)hH8A@0`HRNQ{M7X8 o-myn+a delta 153 zcmey-Eq%R1dczz(0SO)khK7AQG9Y@3?Xk&h!ATxd>%RIw4Vj@S@B1cc<)5bA)hD*^NS#vq zr(5r5&di#*|D#WAar*66@H62$Gyg>A>5I0^{{BI$G(;zO+KI_r^SV`87#JAboqU}D DI`}{| diff --git a/src/Parser/TablePlugin.php b/src/Parser/TablePlugin.php index 8d7e155c9..5afe75980 100644 --- a/src/Parser/TablePlugin.php +++ b/src/Parser/TablePlugin.php @@ -30,6 +30,12 @@ use Kint\Zval\Representation\Representation; use Kint\Zval\Value; +// Note: Interaction with ArrayLimitPlugin: +// Any array limited children will be shown in tables identically to +// non-array-limited children since the table only shows that it is an array +// and it's size anyway. Because ArrayLimitPlugin halts the parse on finding +// a limit all other plugins including this one are stopped, so you cannot get +// a tabular representation of an array that is longer than the limit. class TablePlugin extends AbstractPlugin { public function getTypes(): array