ufirstgroup / laravel-lang-import-export

A Laravel package providing artisan commands to import and export language files from and to CSV
MIT License
41 stars 40 forks source link

Update ExportToCsvCommand.php #27

Closed mehrdadakbari closed 6 months ago

mehrdadakbari commented 9 months ago

support php 8.2

enrique-ideable commented 6 months ago

@jordan-jarolim This merge request would fix compatibility issues for PHP 8.2 of some deprecated warnings like this:

PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ExportToCsvCommand.php on line 66 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ExportToCsvCommand.php on line 77 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ExportToCsvCommand.php on line 77 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ExportToCsvCommand.php on line 108 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ImportFromCsvCommand.php on line 86 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ImportFromCsvCommand.php on line 113 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/ufirst/lang-import-export/src/UFirst/LangImportExport/Console/ImportFromCsvCommand.php on line 113

Could you please merge it to the main branch?

Thank you.