From 06d564f611cb6fce2773f7d88f1dbee64f2cc05d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 20:59:49 -0700 Subject: [PATCH] fix(deps): update dependency league/csv to v9.18.0 (#2461) * fix(deps): update dependency league/csv to v9.18.0 * Replace reference to deprecated function --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Belle Aerni --- composer.lock | 14 +++++++------- src/di.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.lock b/composer.lock index 2af4b4f9f..3964f7cff 100644 --- a/composer.lock +++ b/composer.lock @@ -1376,16 +1376,16 @@ }, { "name": "league/csv", - "version": "9.17.0", + "version": "9.18.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "8cab815fb11ec93aa2f7b8a57b3daa1f1a364011" + "reference": "b02d010e4055ae992247f6ffd1e7b103ef2a0790" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/8cab815fb11ec93aa2f7b8a57b3daa1f1a364011", - "reference": "8cab815fb11ec93aa2f7b8a57b3daa1f1a364011", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/b02d010e4055ae992247f6ffd1e7b103ef2a0790", + "reference": "b02d010e4055ae992247f6ffd1e7b103ef2a0790", "shasum": "" }, "require": { @@ -1397,11 +1397,11 @@ "ext-xdebug": "*", "friendsofphp/php-cs-fixer": "^3.64.0", "phpbench/phpbench": "^1.3.1", - "phpstan/phpstan": "^1.12.5", + "phpstan/phpstan": "^1.12.6", "phpstan/phpstan-deprecation-rules": "^1.2.1", "phpstan/phpstan-phpunit": "^1.4.0", "phpstan/phpstan-strict-rules": "^1.6.1", - "phpunit/phpunit": "^10.5.16 || ^11.4.0", + "phpunit/phpunit": "^10.5.16 || ^11.4.1", "symfony/var-dumper": "^6.4.8 || ^7.1.5" }, "suggest": { @@ -1459,7 +1459,7 @@ "type": "github" } ], - "time": "2024-10-10T10:30:28+00:00" + "time": "2024-10-18T08:14:48+00:00" }, { "name": "liborm85/composer-vendor-cleaner", diff --git a/src/di.php b/src/di.php index 49374796b..6ed34f586 100644 --- a/src/di.php +++ b/src/di.php @@ -772,7 +772,7 @@ $di['table_export_csv'] = $di->protect(function (string $table, string $outputNa $csv->insertOne($headers); $csv->insertAll($rows); - $csv->output($outputName); + $csv->download($outputName); // Prevent further output from being added to the end of the CSV exit;