Skip to content

Commit

Permalink
chore(deps-dev): Bump nextcloud/coding-standard from 1.2.3 to 1.3.1
Browse files Browse the repository at this point in the history
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](nextcloud/coding-standard@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] <support@github.com>
  • Loading branch information
dependabot[bot] authored and juliushaertl committed Oct 8, 2024
1 parent 819b037 commit 107dd34
Show file tree
Hide file tree
Showing 17 changed files with 80 additions and 29 deletions.
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
4 changes: 3 additions & 1 deletion lib/Service/Authentication/ChainAuthenticateUserService.php
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
2 changes: 1 addition & 1 deletion lib/Service/Authentication/GetSessionUserFromIdService.php
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
2 changes: 1 addition & 1 deletion lib/Service/Authentication/GetUserFromIdServiceFactory.php
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
2 changes: 1 addition & 1 deletion lib/Service/File/GetFileFromPublicSharingTokenService.php
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();

0 comments on commit 107dd34

Please sign in to comment.