zerospam / laravel-gettext

Adds localization support to laravel applications using PoEdit and GNU-Gettext.
99 stars 56 forks source link

Fixes to `implode()` syntax to work with PHP 7.4 #43

Closed markcameron closed 4 years ago

markcameron commented 4 years ago

Using the glue after the array in the parameters for implode() is deprecated in PHP 7.4 and would crash the application when trying to run php artisan gettext:... commands. Inversed the order where broken in FileSystem.php and bumped the .travis.yml to test 7.4 as well.

P.S. Apologies for the comment indentation PSR-2 "fixes", they are done automatically by phpcbf on save in my editor