From 107dd345636a906e377cb389e0a553bda4e6003e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 01:07:01 +0000 Subject: [PATCH] chore(deps-dev): Bump nextcloud/coding-standard from 1.2.3 to 1.3.1 Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.3 to 1.3.1. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.2.3...v1.3.1) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 71 +++++++++++++++---- lib/Controller/JWTController.php | 2 +- .../RegisterTemplateCreatorListener.php | 2 +- lib/Model/AuthenticatedUser.php | 4 +- lib/Model/PublicSharingUser.php | 2 +- .../AuthenticateSessionUserService.php | 2 +- .../AuthenticateUserServiceFactory.php | 2 +- .../ChainAuthenticateUserService.php | 4 +- .../GetPublicSharingUserFromIdService.php | 2 +- .../GetSessionUserFromIdService.php | 2 +- .../GetUserFromIdServiceFactory.php | 2 +- lib/Service/File/GetFileFromIdService.php | 2 +- .../GetFileFromPublicSharingTokenService.php | 2 +- lib/Service/File/GetFileServiceFactory.php | 2 +- lib/Service/JWTService.php | 2 +- lib/Settings/Section.php | 2 +- tests/bootstrap.php | 4 +- 17 files changed, 80 insertions(+), 29 deletions(-) diff --git a/composer.lock b/composer.lock index d56a498..ccb988a 100644 --- a/composer.lock +++ b/composer.lock @@ -141,6 +141,52 @@ ], "time": "2022-12-30T00:15:36+00:00" }, + { + "name": "kubawerlos/php-cs-fixer-custom-fixers", + "version": "v3.22.0", + "source": { + "type": "git", + "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", + "reference": "8701394f0c7cd450ac4fa577d24589122c1d5d5e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/8701394f0c7cd450ac4fa577d24589122c1d5d5e", + "reference": "8701394f0c7cd450ac4fa577d24589122c1d5d5e", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "ext-tokenizer": "*", + "friendsofphp/php-cs-fixer": "^3.61.1", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6.4 || ^10.5.29" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpCsFixerCustomFixers\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kuba Werłos", + "email": "werlos@gmail.com" + } + ], + "description": "A set of custom fixers for PHP CS Fixer", + "support": { + "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.22.0" + }, + "time": "2024-08-16T20:44:35+00:00" + }, { "name": "myclabs/deep-copy", "version": "1.12.0", @@ -203,19 +249,20 @@ }, { "name": "nextcloud/coding-standard", - "version": "v1.2.3", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/nextcloud/coding-standard.git", - "reference": "bc9c53a5306114b60c4363057aff9c2ed10a54da" + "reference": "e88acb0df6217b808d1632286ddfec9267a102e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/bc9c53a5306114b60c4363057aff9c2ed10a54da", - "reference": "bc9c53a5306114b60c4363057aff9c2ed10a54da", + "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/e88acb0df6217b808d1632286ddfec9267a102e4", + "reference": "e88acb0df6217b808d1632286ddfec9267a102e4", "shasum": "" }, "require": { + "kubawerlos/php-cs-fixer-custom-fixers": "^3.22", "php": "^7.3|^8.0", "php-cs-fixer/shim": "^3.17" }, @@ -238,9 +285,9 @@ "description": "Nextcloud coding standards for the php cs fixer", "support": { "issues": "https://github.com/nextcloud/coding-standard/issues", - "source": "https://github.com/nextcloud/coding-standard/tree/v1.2.3" + "source": "https://github.com/nextcloud/coding-standard/tree/v1.3.1" }, - "time": "2024-08-23T14:32:32+00:00" + "time": "2024-09-19T09:07:10+00:00" }, { "name": "nextcloud/ocp", @@ -465,16 +512,16 @@ }, { "name": "php-cs-fixer/shim", - "version": "v3.62.0", + "version": "v3.64.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/shim.git", - "reference": "7a91d5ce45c486f5b445d95901228507a02f60ae" + "reference": "81ccfd24baf3a10810dab1152c403981a790b837" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/7a91d5ce45c486f5b445d95901228507a02f60ae", - "reference": "7a91d5ce45c486f5b445d95901228507a02f60ae", + "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/81ccfd24baf3a10810dab1152c403981a790b837", + "reference": "81ccfd24baf3a10810dab1152c403981a790b837", "shasum": "" }, "require": { @@ -511,9 +558,9 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/PHP-CS-Fixer/shim/issues", - "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.62.0" + "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.64.0" }, - "time": "2024-08-07T17:03:46+00:00" + "time": "2024-08-30T23:10:11+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/lib/Controller/JWTController.php b/lib/Controller/JWTController.php index 155946b..c57d5e4 100644 --- a/lib/Controller/JWTController.php +++ b/lib/Controller/JWTController.php @@ -28,7 +28,7 @@ public function __construct( private GetFileServiceFactory $getFileServiceFactory, private JWTService $jwtService, private ExceptionService $exceptionService, - private AuthenticateUserServiceFactory $authenticateUserServiceFactory + private AuthenticateUserServiceFactory $authenticateUserServiceFactory, ) { parent::__construct('whiteboard', $request); } diff --git a/lib/Listener/RegisterTemplateCreatorListener.php b/lib/Listener/RegisterTemplateCreatorListener.php index 1d8d525..f153c22 100644 --- a/lib/Listener/RegisterTemplateCreatorListener.php +++ b/lib/Listener/RegisterTemplateCreatorListener.php @@ -21,7 +21,7 @@ */ final class RegisterTemplateCreatorListener implements IEventListener { public function __construct( - private IL10N $l10n + private IL10N $l10n, ) { } diff --git a/lib/Model/AuthenticatedUser.php b/lib/Model/AuthenticatedUser.php index d083a23..344f395 100644 --- a/lib/Model/AuthenticatedUser.php +++ b/lib/Model/AuthenticatedUser.php @@ -12,7 +12,9 @@ use OCP\IUser; final class AuthenticatedUser implements User { - public function __construct(private IUser $user) { + public function __construct( + private IUser $user, + ) { } public function getUID(): string { diff --git a/lib/Model/PublicSharingUser.php b/lib/Model/PublicSharingUser.php index a01622c..c0f5265 100644 --- a/lib/Model/PublicSharingUser.php +++ b/lib/Model/PublicSharingUser.php @@ -11,7 +11,7 @@ final class PublicSharingUser implements User { public function __construct( - private string $publicSharingToken + private string $publicSharingToken, ) { } diff --git a/lib/Service/Authentication/AuthenticateSessionUserService.php b/lib/Service/Authentication/AuthenticateSessionUserService.php index e51448e..75a03f4 100644 --- a/lib/Service/Authentication/AuthenticateSessionUserService.php +++ b/lib/Service/Authentication/AuthenticateSessionUserService.php @@ -16,7 +16,7 @@ final class AuthenticateSessionUserService implements AuthenticateUserService { public function __construct( - private IUserSession $userSession + private IUserSession $userSession, ) { } diff --git a/lib/Service/Authentication/AuthenticateUserServiceFactory.php b/lib/Service/Authentication/AuthenticateUserServiceFactory.php index 1cf745a..e1e6725 100644 --- a/lib/Service/Authentication/AuthenticateUserServiceFactory.php +++ b/lib/Service/Authentication/AuthenticateUserServiceFactory.php @@ -15,7 +15,7 @@ final class AuthenticateUserServiceFactory { public function __construct( private ShareManager $shareManager, - private IUserSession $userSession + private IUserSession $userSession, ) { } diff --git a/lib/Service/Authentication/ChainAuthenticateUserService.php b/lib/Service/Authentication/ChainAuthenticateUserService.php index 169a2cf..9e1063e 100644 --- a/lib/Service/Authentication/ChainAuthenticateUserService.php +++ b/lib/Service/Authentication/ChainAuthenticateUserService.php @@ -14,7 +14,9 @@ use OCA\Whiteboard\Model\User; final class ChainAuthenticateUserService implements AuthenticateUserService { - public function __construct(private array $strategies) { + public function __construct( + private array $strategies, + ) { } public function authenticate(): User { diff --git a/lib/Service/Authentication/GetPublicSharingUserFromIdService.php b/lib/Service/Authentication/GetPublicSharingUserFromIdService.php index d93f365..b1ffad1 100644 --- a/lib/Service/Authentication/GetPublicSharingUserFromIdService.php +++ b/lib/Service/Authentication/GetPublicSharingUserFromIdService.php @@ -19,7 +19,7 @@ final class GetPublicSharingUserFromIdService implements GetUserFromIdService { public function __construct( private ShareManager $shareManager, - private string $userId + private string $userId, ) { } diff --git a/lib/Service/Authentication/GetSessionUserFromIdService.php b/lib/Service/Authentication/GetSessionUserFromIdService.php index 025887f..a3d933b 100644 --- a/lib/Service/Authentication/GetSessionUserFromIdService.php +++ b/lib/Service/Authentication/GetSessionUserFromIdService.php @@ -19,7 +19,7 @@ final class GetSessionUserFromIdService implements GetUserFromIdService { public function __construct( private IUserManager $userManager, private IUserSession $userSession, - private string $userId + private string $userId, ) { } diff --git a/lib/Service/Authentication/GetUserFromIdServiceFactory.php b/lib/Service/Authentication/GetUserFromIdServiceFactory.php index a0a95d8..6ab4106 100644 --- a/lib/Service/Authentication/GetUserFromIdServiceFactory.php +++ b/lib/Service/Authentication/GetUserFromIdServiceFactory.php @@ -17,7 +17,7 @@ final class GetUserFromIdServiceFactory { public function __construct( private ShareManager $shareManager, private IUserManager $userManager, - private IUserSession $userSession + private IUserSession $userSession, ) { } diff --git a/lib/Service/File/GetFileFromIdService.php b/lib/Service/File/GetFileFromIdService.php index 114194b..51c44d4 100644 --- a/lib/Service/File/GetFileFromIdService.php +++ b/lib/Service/File/GetFileFromIdService.php @@ -29,7 +29,7 @@ final class GetFileFromIdService implements GetFileService { public function __construct( private IRootFolder $rootFolder, private string $userId, - private int $fileId + private int $fileId, ) { } diff --git a/lib/Service/File/GetFileFromPublicSharingTokenService.php b/lib/Service/File/GetFileFromPublicSharingTokenService.php index 44b2970..2a191b7 100644 --- a/lib/Service/File/GetFileFromPublicSharingTokenService.php +++ b/lib/Service/File/GetFileFromPublicSharingTokenService.php @@ -28,7 +28,7 @@ final class GetFileFromPublicSharingTokenService implements GetFileService { public function __construct( private ShareManager $shareManager, private string $publicSharingToken, - private int $fileId + private int $fileId, ) { } diff --git a/lib/Service/File/GetFileServiceFactory.php b/lib/Service/File/GetFileServiceFactory.php index 3020e10..c749cb5 100644 --- a/lib/Service/File/GetFileServiceFactory.php +++ b/lib/Service/File/GetFileServiceFactory.php @@ -24,7 +24,7 @@ final class GetFileServiceFactory { public function __construct( private IRootFolder $rootFolder, - private ShareManager $shareManager + private ShareManager $shareManager, ) { } diff --git a/lib/Service/JWTService.php b/lib/Service/JWTService.php index ee47cb5..f41266b 100644 --- a/lib/Service/JWTService.php +++ b/lib/Service/JWTService.php @@ -21,7 +21,7 @@ final class JWTService { public function __construct( - private ConfigService $configService + private ConfigService $configService, ) { } diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php index 7b5fbc2..41df403 100644 --- a/lib/Settings/Section.php +++ b/lib/Settings/Section.php @@ -13,7 +13,7 @@ class Section implements IIconSection { public function __construct( private IURLGenerator $url, - private IL10N $l10n + private IL10N $l10n, ) { } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 4fb309a..e2ffe21 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,8 +1,8 @@