liuggio / ExcelBundle

Excel integration in Symfony2 thanks to https://github.com/PHPOffice/PHPExcel library
www.welcometothebundle.com
MIT License
369 stars 142 forks source link

Notice: A non well formed numeric value encountered for PHP 7.1 #126

Open riotvictim opened 6 years ago

riotvictim commented 6 years ago

There are few issues with PHPExcel after PHP version update (5.6 -> 7.1) but this one is the most annoying: https://github.com/PHPOffice/PHPExcel/issues/1110

Did you have a chance to review it and adapt ExcelBundle?

Thanks!

Tilotiti commented 6 years ago

As a workaround, i just replaced :

ResponseHeaderBag::DISPOSITION_ATTACHMENT

With the string :

'attachment'

And it worked fine.