From 20bb031db0938c5aa241d93b9d8c98006ebc920b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:58:36 +0200 Subject: [PATCH] fix(deps): update dependency friendsofphp/php-cs-fixer to <3.16.1 (main) (#2490) * fix(deps): update dependency friendsofphp/php-cs-fixer to <3.16.1 * style: format code using php-cs-fixer --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo --- legacy/application/services/ThirdPartyService.php | 3 +-- legacy/tools/composer.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/legacy/application/services/ThirdPartyService.php b/legacy/application/services/ThirdPartyService.php index 2f70fb0e4..f0d9bb795 100644 --- a/legacy/application/services/ThirdPartyService.php +++ b/legacy/application/services/ThirdPartyService.php @@ -76,8 +76,7 @@ abstract class Application_Service_ThirdPartyService { $ref = ThirdPartyTrackReferencesQuery::create() ->filterByDbService(static::$_SERVICE_NAME) - ->findOneByDbFileId($fileId) // There shouldn't be duplicates! -; + ->findOneByDbFileId($fileId); // There shouldn't be duplicates! return empty($ref) ? '' : $ref->getDbForeignId(); } diff --git a/legacy/tools/composer.json b/legacy/tools/composer.json index 58a4cbe52..1d4ef9947 100644 --- a/legacy/tools/composer.json +++ b/legacy/tools/composer.json @@ -1,6 +1,6 @@ { "require": { "php": "^7.4", - "friendsofphp/php-cs-fixer": "<3.15.2" + "friendsofphp/php-cs-fixer": "<3.16.1" } }