hshn / base64-encoded-file

Provides handling for base64 encoded files, and the integration of symfony/form
MIT License
39 stars 24 forks source link

Fix php 8.1 depreciation message #24

Closed ErnadoO closed 2 years ago

ErnadoO commented 2 years ago

FILE_BINARY constant is deprecated since php8.1 because this const have no effect :

https://wiki.php.net/rfc/deprecations_php_8_1 https://github.com/php/php-src/pull/5556

Gwemox commented 2 years ago

@hshn can you merge this please ?

hshn commented 2 years ago

I published this contribution as v4.0.0 with some BC breaks (which is dropping outdated PHP and Symfony support).