Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump nextcloud/coding-standard from 1.2.3 to 1.3.1 #177

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 59 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Controller/JWTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/RegisterTemplateCreatorListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
final class RegisterTemplateCreatorListener implements IEventListener {
public function __construct(
private IL10N $l10n
private IL10N $l10n,
) {
}

Expand Down
4 changes: 3 additions & 1 deletion lib/Model/AuthenticatedUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/PublicSharingUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class PublicSharingUser implements User {
public function __construct(
private string $publicSharingToken
private string $publicSharingToken,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

final class AuthenticateSessionUserService implements AuthenticateUserService {
public function __construct(
private IUserSession $userSession
private IUserSession $userSession,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
final class AuthenticateUserServiceFactory {
public function __construct(
private ShareManager $shareManager,
private IUserSession $userSession
private IUserSession $userSession,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
final class GetPublicSharingUserFromIdService implements GetUserFromIdService {
public function __construct(
private ShareManager $shareManager,
private string $userId
private string $userId,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class GetSessionUserFromIdService implements GetUserFromIdService {
public function __construct(
private IUserManager $userManager,
private IUserSession $userSession,
private string $userId
private string $userId,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class GetUserFromIdServiceFactory {
public function __construct(
private ShareManager $shareManager,
private IUserManager $userManager,
private IUserSession $userSession
private IUserSession $userSession,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Service/File/GetFileFromIdService.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class GetFileFromIdService implements GetFileService {
public function __construct(
private IRootFolder $rootFolder,
private string $userId,
private int $fileId
private int $fileId,
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class GetFileFromPublicSharingTokenService implements GetFileService {
public function __construct(
private ShareManager $shareManager,
private string $publicSharingToken,
private int $fileId
private int $fileId,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Service/File/GetFileServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
final class GetFileServiceFactory {
public function __construct(
private IRootFolder $rootFolder,
private ShareManager $shareManager
private ShareManager $shareManager,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Service/JWTService.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

final class JWTService {
public function __construct(
private ConfigService $configService
private ConfigService $configService,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Settings/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class Section implements IIconSection {
public function __construct(
private IURLGenerator $url,
private IL10N $l10n
private IL10N $l10n,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

$nextcloud_source = getenv('NEXTCLOUD_SOURCE') ?:
__DIR__.'/../../..';
require_once $nextcloud_source.'/tests/bootstrap.php';
__DIR__ . '/../../..';
require_once $nextcloud_source . '/tests/bootstrap.php';

OC_App::loadApp('whiteboard');
OC_Hook::clear();
Loading