From b13ed4e479e9c4ac4dcd93f6706b65afb3193668 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 21:04:32 +0100 Subject: Bump phpstan/phpstan from 2.0.4 to 2.1.0 (#7164) * Bump phpstan/phpstan from 2.0.4 to 2.1.0 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.0.4 to 2.1.0. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/2.0.4...2.1.0) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Workaround false positive PHPStan --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandre Alapetite --- app/Services/ExportService.php | 2 +- composer.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index 797aadbb5..076524625 100644 --- a/app/Services/ExportService.php +++ b/app/Services/ExportService.php @@ -149,7 +149,7 @@ class FreshRSS_Export_Service { // From https://stackoverflow.com/questions/1061710/php-zip-files-on-the-fly $zip_file = tempnam(TMP_PATH, 'zip'); - if ($zip_file == false) { + if ($zip_file === false) { return [$zip_filename, false]; } $zip_archive = new ZipArchive(); diff --git a/composer.lock b/composer.lock index daeaa3d29..07cbb8048 100644 --- a/composer.lock +++ b/composer.lock @@ -245,16 +245,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.0.4", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "50d276fc3bf1430ec315f2f109bbde2769821524" + "reference": "2392d360fdf54ea253aa6c68cad1d4ba2e54e927" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/50d276fc3bf1430ec315f2f109bbde2769821524", - "reference": "50d276fc3bf1430ec315f2f109bbde2769821524", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2392d360fdf54ea253aa6c68cad1d4ba2e54e927", + "reference": "2392d360fdf54ea253aa6c68cad1d4ba2e54e927", "shasum": "" }, "require": { @@ -299,7 +299,7 @@ "type": "github" } ], - "time": "2024-12-17T17:14:01+00:00" + "time": "2024-12-31T07:30:03+00:00" }, { "name": "phpstan/phpstan-phpunit", -- cgit v1.2.3