Closed krzysztofrewak closed 4 years ago
Hi @krzysztofrewak thanks for the pull request, this bug was caused by this code using the system object directly instead of via the utility factory which handles a default value when no terminal width is available. A fix for this issue has been released in version 3.5.2 now
When I switched my application to
php:7.4.0-fpm-alpine
, I started receiving warnings that completely ruined possibility to use your library. I was usingradio()
method and after PHP updates these showed up:They've appeared even with the basic implementation:
For some reason calculated length for padding changed to a negative number (-5 for example above). I mapped
$length
variable to be always non-negative forCheckbox
class' padding.I had no problems with other components, so I'm leaving them as they are.