I was trying to use auto size in my sheet and it didn't work
Use the interface ShouldAutoSize in your sheet.
Expected behavior:
The columns in the sheet will auto size the width
Actual behavior:
The columns didn't auto size
I saw in the file vendor/maatwebsite/excel/src/Sheet.php the function below

It test if ($dimension->getWidth() === -1) { but the function getWidth() return a float type, when I changed it for if ($dimension->getWidth() === -1.0) { the auto sizing start working again...
Can you create a PR for that?
No need anymore, I've pushed the fix myself. Thanks for reporting!
Oh! Thanks!
I thought about opening the PR, but I decided to open this Issue before to validate...
Anyway, I would like thanks for your attention.
@patrickbrouwers could we get a new release tagged now that this is fixed?