Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Consolidation\OutputFormatters\Transformations\Wrap\CalculateWidths->Consolidation\OutputFormatters\Transformations\Wrap\@closure() (line 56 of vendor/consolidation/output-formatters/src/Transformations/Wrap/CalculateWidths.php)
Cast to string a cell when passed to the callback, in CalculateWidths::calculateColumnWidths().
Overview
This pull request:
Summary
On PHP 8.1 a
null
cell will create a warning:Cast to string a cell when passed to the callback, in
CalculateWidths::calculateColumnWidths()
.