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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Services/ExportService.php') 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(); -- cgit v1.2.3