]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer dependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2 48806/head
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sat, 19 Oct 2024 02:46:25 +0000 (02:46 +0000)
committerprovokateurin <kate@provokateurin.de>
Sat, 19 Oct 2024 05:57:35 +0000 (07:57 +0200)
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2.
- [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.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
33 files changed:
apps/dav/lib/CalDAV/BirthdayService.php
apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
apps/files/lib/BackgroundJob/ScanFiles.php
apps/files_sharing/lib/External/Manager.php
apps/files_sharing/lib/SharesReminderJob.php
apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
apps/files_trashbin/lib/Storage.php
apps/settings/tests/Controller/UsersControllerTest.php
apps/systemtags/lib/Search/TagSearchProvider.php
core/Command/Preview/Cleanup.php
core/Controller/TaskProcessingApiController.php
core/Controller/TextProcessingApiController.php
lib/composer/composer/InstalledVersions.php
lib/composer/composer/installed.json
lib/composer/composer/installed.php
lib/private/BinaryFinder.php
lib/private/DB/QueryBuilder/CompositeExpression.php
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php
lib/private/DB/QueryBuilder/Sharded/AutoIncrementHandler.php
lib/private/DB/QueryBuilder/Sharded/ShardQueryRunner.php
lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php
lib/private/Files/Cache/Cache.php
lib/private/Mail/Mailer.php
lib/private/PreviewManager.php
lib/private/Security/Ip/Address.php
lib/private/Security/Ip/RemoteAddress.php
lib/private/Settings/DeclarativeManager.php
lib/private/Template/JSConfigHelper.php
lib/private/TextProcessing/TaskBackgroundJob.php
lib/private/User/Session.php
lib/public/Security/Ip/IAddress.php
lib/public/Security/RateLimiting/ILimiter.php
vendor-bin/cs-fixer/composer.lock

index 9a717b96d638aaaab35e9cea6e258f531166365b..00b27219cbdf7f9b506da68da9b5b52dbd1d22c1 100644 (file)
@@ -139,9 +139,9 @@ class BirthdayService {
         * @return VCalendar|null
         * @throws InvalidDataException
         */
-       public function buildDateFromContact(string  $cardData,
-               string  $dateField,
-               string  $postfix,
+       public function buildDateFromContact(string $cardData,
+               string $dateField,
+               string $postfix,
                ?string $reminderOffset):?VCalendar {
                if (empty($cardData)) {
                        return null;
index 1428eb9c46c39e50c43d8ade7f62f9401d907b05..31d60f1531ddc4bb5799031d2c9b6fb324fbedb0 100644 (file)
@@ -29,6 +29,6 @@ interface INotificationProvider {
         */
        public function send(VEvent $vevent,
                ?string $calendarDisplayName,
-               array  $principalEmailAddresses,
+               array $principalEmailAddresses,
                array $users = []): void;
 }
index 88b45033255f3de50c052cc3e80e8ac653859f5f..1d72ed6cde4adbf53b120301bf2d5002bc5a6c5d 100644 (file)
@@ -33,11 +33,11 @@ class ScanFiles extends TimedJob {
        public const USERS_PER_SESSION = 500;
 
        public function __construct(
-               IConfig          $config,
+               IConfig $config,
                IEventDispatcher $dispatcher,
-               LoggerInterface  $logger,
-               IDBConnection    $connection,
-               ITimeFactory     $time,
+               LoggerInterface $logger,
+               IDBConnection $connection,
+               ITimeFactory $time,
        ) {
                parent::__construct($time);
                // Run once per 10 minutes
index 58e24a96338bbfcd383b1c0b8ba2dc19dcc6f528..e9383b9abc7e089f9a38c99ac29c39e931ce056e 100644 (file)
@@ -73,19 +73,19 @@ class Manager {
        private $logger;
 
        public function __construct(
-               IDBConnection                   $connection,
-               \OC\Files\Mount\Manager         $mountManager,
-               IStorageFactory                 $storageLoader,
-               IClientService                  $clientService,
-               IManager                        $notificationManager,
-               IDiscoveryService               $discoveryService,
+               IDBConnection $connection,
+               \OC\Files\Mount\Manager $mountManager,
+               IStorageFactory $storageLoader,
+               IClientService $clientService,
+               IManager $notificationManager,
+               IDiscoveryService $discoveryService,
                ICloudFederationProviderManager $cloudFederationProviderManager,
-               ICloudFederationFactory         $cloudFederationFactory,
-               IGroupManager                   $groupManager,
-               IUserManager                    $userManager,
-               IUserSession                    $userSession,
-               IEventDispatcher                $eventDispatcher,
-               LoggerInterface                 $logger,
+               ICloudFederationFactory $cloudFederationFactory,
+               IGroupManager $groupManager,
+               IUserManager $userManager,
+               IUserSession $userSession,
+               IEventDispatcher $eventDispatcher,
+               LoggerInterface $logger,
        ) {
                $user = $userSession->getUser();
                $this->connection = $connection;
index b3b3590ec0954a13ca4aa24eab595690159e0348..854ad196d6be9c700ad8cda3116e42e938602eed 100644 (file)
@@ -38,16 +38,16 @@ class SharesReminderJob extends TimedJob {
        private int $folderMimeTypeId;
 
        public function __construct(
-               ITimeFactory                     $time,
-               private readonly IDBConnection   $db,
-               private readonly IManager        $shareManager,
-               private readonly IUserManager    $userManager,
+               ITimeFactory $time,
+               private readonly IDBConnection $db,
+               private readonly IManager $shareManager,
+               private readonly IUserManager $userManager,
                private readonly LoggerInterface $logger,
-               private readonly IURLGenerator   $urlGenerator,
-               private readonly IFactory        $l10nFactory,
-               private readonly IMailer         $mailer,
-               private readonly Defaults        $defaults,
-               IMimeTypeLoader                  $mimeTypeLoader,
+               private readonly IURLGenerator $urlGenerator,
+               private readonly IFactory $l10nFactory,
+               private readonly IMailer $mailer,
+               private readonly Defaults $defaults,
+               IMimeTypeLoader $mimeTypeLoader,
        ) {
                parent::__construct($time);
                $this->setInterval(60 * 60);
index 84234660665f8903cd51781213539ff9ecd99b2b..7ae010b026fd056081c7f959d0d480737b284aae 100644 (file)
@@ -60,7 +60,7 @@ class ShareAPIControllerTest extends TestCase {
        private IRootFolder|\PHPUnit\Framework\MockObject\MockObject $rootFolder;
        private IURLGenerator|\PHPUnit\Framework\MockObject\MockObject $urlGenerator;
        private string|\PHPUnit\Framework\MockObject\MockObject $currentUser;
-       private ShareAPIController  $ocs;
+       private ShareAPIController $ocs;
        private IL10N|\PHPUnit\Framework\MockObject\MockObject $l;
        private IConfig|\PHPUnit\Framework\MockObject\MockObject $config;
        private IAppManager|\PHPUnit\Framework\MockObject\MockObject $appManager;
index c6f90b175b94a4753f4eda668fb63d9398fe411a..5703f3be5274935aa8e462f7d34bb99b90c9d0fc 100644 (file)
@@ -20,7 +20,7 @@ use Psr\Log\LoggerInterface;
 
 class Storage extends Wrapper {
        private string $mountPoint;
-       private IUserManager$userManager;
+       private IUserManager $userManager;
        private LoggerInterface $logger;
        private IEventDispatcher $eventDispatcher;
        private IRootFolder $rootFolder;
index 80eb252f98866b50a0487f9d55e2bd039f0ba964..96823e5ceed0e4910d3242bb48fc63f06501d29f 100644 (file)
@@ -791,7 +791,7 @@ class UsersControllerTest extends \Test\TestCase {
                array $data,
                string $oldEmailAddress,
                string $oldDisplayName,
-               bool  $setDisplayNameResult,
+               bool $setDisplayNameResult,
                bool $canChangeEmail,
        ): void {
                $this->expectException(ForbiddenException::class);
index 6e6f587d36638999d3c5a81cf4aa008b1e3a22e1..d09befd194e085e0aced56095f442de43301d3d2 100644 (file)
@@ -47,10 +47,10 @@ class TagSearchProvider implements IProvider {
        private ISystemTagManager $tagManager;
 
        public function __construct(
-               IL10N             $l10n,
-               IURLGenerator     $urlGenerator,
+               IL10N $l10n,
+               IURLGenerator $urlGenerator,
                IMimeTypeDetector $mimeTypeDetector,
-               IRootFolder       $rootFolder,
+               IRootFolder $rootFolder,
                ISystemTagObjectMapper $objectMapper,
                ISystemTagManager $tagManager,
        ) {
index 2049bb98bc43aa93c33483912968fd5922086931..dad981a524374eb38dfa8a1e3cae173e0fe2a85f 100644 (file)
@@ -21,7 +21,7 @@ use Symfony\Component\Console\Output\OutputInterface;
 class Cleanup extends Base {
 
        public function __construct(
-               private IRootFolder     $rootFolder,
+               private IRootFolder $rootFolder,
                private LoggerInterface $logger,
        ) {
                parent::__construct();
index cc685d34bf0487fac784a91bcf079d19768327c2..7ee5e7068af4d83370417330204d4c5ad7c123da 100644 (file)
@@ -46,13 +46,13 @@ use RuntimeException;
  */
 class TaskProcessingApiController extends \OCP\AppFramework\OCSController {
        public function __construct(
-               string              $appName,
-               IRequest            $request,
-               private IManager    $taskProcessingManager,
-               private IL10N       $l,
-               private ?string     $userId,
+               string $appName,
+               IRequest $request,
+               private IManager $taskProcessingManager,
+               private IL10N $l,
+               private ?string $userId,
                private IRootFolder $rootFolder,
-               private IAppData    $appData,
+               private IAppData $appData,
        ) {
                parent::__construct($appName, $request);
        }
index e62389dee116786866b5605bef205495a538bd10..a0acf1932897d14dbc837a7b26d6cbc8406399f3 100644 (file)
@@ -38,13 +38,13 @@ use Psr\Log\LoggerInterface;
  */
 class TextProcessingApiController extends \OCP\AppFramework\OCSController {
        public function __construct(
-               string                     $appName,
-               IRequest                   $request,
-               private IManager           $textProcessingManager,
-               private IL10N              $l,
-               private ?string            $userId,
+               string $appName,
+               IRequest $request,
+               private IManager $textProcessingManager,
+               private IL10N $l,
+               private ?string $userId,
                private ContainerInterface $container,
-               private LoggerInterface    $logger,
+               private LoggerInterface $logger,
        ) {
                parent::__construct($appName, $request);
        }
index cee8310f34762ac3fcc7ed8699efb2f99cbb4b2a..51e734a774b3ed9ca110a921cb40a74f8c7905c2 100644 (file)
@@ -255,7 +255,7 @@ class InstalledVersions
     /**
      * Returns the raw installed.php data for custom implementations
      *
-     * @deprecated 23.0.0 Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
+     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
      * @return array[]
      * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
      */
index f20a6c47c6d4ffe31ac1c071722ca6e2f330e699..13ea12dca2a279e7d83b3e6778c0f4b8fc9c1d70 100644 (file)
@@ -1,5 +1,68 @@
 {
-    "packages": [],
-    "dev": false,
-    "dev-package-names": []
+    "packages": [
+        {
+            "name": "bamarni/composer-bin-plugin",
+            "version": "1.8.2",
+            "version_normalized": "1.8.2.0",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/bamarni/composer-bin-plugin.git",
+                "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/bamarni/composer-bin-plugin/zipball/92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880",
+                "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880",
+                "shasum": ""
+            },
+            "require": {
+                "composer-plugin-api": "^2.0",
+                "php": "^7.2.5 || ^8.0"
+            },
+            "require-dev": {
+                "composer/composer": "^2.0",
+                "ext-json": "*",
+                "phpstan/extension-installer": "^1.1",
+                "phpstan/phpstan": "^1.8",
+                "phpstan/phpstan-phpunit": "^1.1",
+                "phpunit/phpunit": "^8.5 || ^9.5",
+                "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+                "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+                "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0"
+            },
+            "time": "2022-10-31T08:38:03+00:00",
+            "type": "composer-plugin",
+            "extra": {
+                "class": "Bamarni\\Composer\\Bin\\BamarniBinPlugin"
+            },
+            "installation-source": "dist",
+            "autoload": {
+                "psr-4": {
+                    "Bamarni\\Composer\\Bin\\": "src"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "description": "No conflicts for your bin dependencies",
+            "keywords": [
+                "composer",
+                "conflict",
+                "dependency",
+                "executable",
+                "isolation",
+                "tool"
+            ],
+            "support": {
+                "issues": "https://github.com/bamarni/composer-bin-plugin/issues",
+                "source": "https://github.com/bamarni/composer-bin-plugin/tree/1.8.2"
+            },
+            "install-path": "../bamarni/composer-bin-plugin"
+        }
+    ],
+    "dev": true,
+    "dev-package-names": [
+        "bamarni/composer-bin-plugin"
+    ]
 }
index 5fe8d8f7f491f57e941c60dbb0412b0e88889f14..3d7c94e736c8e7cb50b0023e1fd7beeb7febd673 100644 (file)
@@ -3,21 +3,30 @@
         'name' => '__root__',
         'pretty_version' => 'dev-master',
         'version' => 'dev-master',
-        'reference' => 'b99276fdfbac6b1ff243807b8b5b8161f0f67a24',
+        'reference' => 'd481e4c575c189d6ddb128740892dd54a7c7ed48',
         'type' => 'library',
         'install_path' => __DIR__ . '/../../../',
         'aliases' => array(),
-        'dev' => false,
+        'dev' => true,
     ),
     'versions' => array(
         '__root__' => array(
             'pretty_version' => 'dev-master',
             'version' => 'dev-master',
-            'reference' => 'b99276fdfbac6b1ff243807b8b5b8161f0f67a24',
+            'reference' => 'd481e4c575c189d6ddb128740892dd54a7c7ed48',
             'type' => 'library',
             'install_path' => __DIR__ . '/../../../',
             'aliases' => array(),
             'dev_requirement' => false,
         ),
+        'bamarni/composer-bin-plugin' => array(
+            'pretty_version' => '1.8.2',
+            'version' => '1.8.2.0',
+            'reference' => '92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880',
+            'type' => 'composer-plugin',
+            'install_path' => __DIR__ . '/../bamarni/composer-bin-plugin',
+            'aliases' => array(),
+            'dev_requirement' => true,
+        ),
     ),
 );
index 3dad245ff0de64ae56d4a6ce412bfc4c0931bc23..74e72d1564a96bd5df3155b52e9e9bbfae6a7472 100644 (file)
@@ -30,7 +30,7 @@ class BinaryFinder implements IBinaryFinder {
        private ICache $cache;
 
        public function __construct(
-               ICacheFactory   $cacheFactory,
+               ICacheFactory $cacheFactory,
                private IConfig $config,
        ) {
                $this->cache = $cacheFactory->createLocal('findBinaryPath');
index bcdbce8c5cb3bd94f5c85db904b918d9c64a408c..122998036ae0c571fb8d6e2cebd31b0085383db8 100644 (file)
@@ -16,7 +16,7 @@ class CompositeExpression implements ICompositeExpression, \Countable {
 
        public function __construct(
                private string $type,
-               private array  $parts = [],
+               private array $parts = [],
        ) {
        }
 
index 9d351c1d3f17e1e874f7b0d1aab5ae893b0178fb..a9cc3e74c97fd7d7d66800576e5320495cefbba5 100644 (file)
@@ -50,10 +50,10 @@ class PartitionedQueryBuilder extends ShardedQueryBuilder {
        private ?int $offset = null;
 
        public function __construct(
-               IQueryBuilder          $builder,
-               array                  $shardDefinitions,
+               IQueryBuilder $builder,
+               array $shardDefinitions,
                ShardConnectionManager $shardConnectionManager,
-               AutoIncrementHandler   $autoIncrementHandler,
+               AutoIncrementHandler $autoIncrementHandler,
        ) {
                parent::__construct($builder, $shardDefinitions, $shardConnectionManager, $autoIncrementHandler);
                $this->quoteHelper = new QuoteHelper();
index c3ce28376e34d178ac99053476b5f3c259f9b413..caedaa71c97a98abb9c669fbfc27b43105120359 100644 (file)
@@ -25,7 +25,7 @@ class AutoIncrementHandler {
        private ?IMemcache $cache = null;
 
        public function __construct(
-               private ICacheFactory                  $cacheFactory,
+               private ICacheFactory $cacheFactory,
                private ShardConnectionManager $shardConnectionManager,
        ) {
                if (PHP_INT_SIZE < 8) {
index 51cd055e801fadb0ea6e1edff380c1004cb74121..c020e72868e8c14c2ab5cb40e1aaf58b4573e167 100644 (file)
@@ -77,12 +77,12 @@ class ShardQueryRunner {
         */
        public function executeQuery(
                IQueryBuilder $query,
-               bool          $allShards,
-               array         $shardKeys,
-               array         $primaryKeys,
-               ?array        $sortList = null,
-               ?int          $limit = null,
-               ?int          $offset = null,
+               bool $allShards,
+               array $shardKeys,
+               array $primaryKeys,
+               ?array $sortList = null,
+               ?int $limit = null,
+               ?int $offset = null,
        ): IResult {
                $shards = $this->getShards($allShards, $shardKeys);
                $results = [];
index e5b66470de08a93f6ef415800bb3423811efa106..2219a369778f69bc1fd434a0dd715cc0fe6fde61 100644 (file)
@@ -41,8 +41,8 @@ class ShardedQueryBuilder extends ExtendedQueryBuilder {
        private string $mainTable = '';
 
        public function __construct(
-               IQueryBuilder                  $builder,
-               protected array                  $shardDefinitions,
+               IQueryBuilder $builder,
+               protected array $shardDefinitions,
                protected ShardConnectionManager $shardConnectionManager,
                protected AutoIncrementHandler $autoIncrementHandler,
        ) {
index f5baddb8590d097b06263713cc39359b4220ccca..59d5a838d72ca20148da464b00de68a7b9b1ff01 100644 (file)
@@ -55,7 +55,7 @@ class Cache implements ICache {
        protected array $partial = [];
        protected string $storageId;
        protected Storage $storageCache;
-       protected IMimeTypeLoader$mimetypeLoader;
+       protected IMimeTypeLoader $mimetypeLoader;
        protected IDBConnection $connection;
        protected SystemConfig $systemConfig;
        protected LoggerInterface $logger;
index 7497a8d9079673d2d22e277a3bb8ae8e538201a6..da3fcd35888716e9714c205581460f71b0898298 100644 (file)
@@ -61,13 +61,13 @@ class Mailer implements IMailer {
        private ?MailerInterface $instance = null;
 
        public function __construct(
-               private IConfig          $config,
-               private LoggerInterface  $logger,
-               private Defaults         $defaults,
-               private IURLGenerator    $urlGenerator,
-               private IL10N            $l10n,
+               private IConfig $config,
+               private LoggerInterface $logger,
+               private Defaults $defaults,
+               private IURLGenerator $urlGenerator,
+               private IL10N $l10n,
                private IEventDispatcher $dispatcher,
-               private IFactory         $l10nFactory,
+               private IFactory $l10nFactory,
        ) {
        }
 
index ae0aa42a522f405c62210b667447a4e5a9baf838..c8ef2fac8f37f0927b3c64c4e715f5aaa256664f 100644 (file)
@@ -53,16 +53,16 @@ class PreviewManager implements IPreview {
        private bool $enablePreviews;
 
        public function __construct(
-               IConfig                  $config,
-               IRootFolder              $rootFolder,
-               IAppData                 $appData,
-               IEventDispatcher                 $eventDispatcher,
-               GeneratorHelper          $helper,
-               ?string                  $userId,
-               Coordinator              $bootstrapCoordinator,
-               IServerContainer         $container,
-               IBinaryFinder            $binaryFinder,
-               IMagickSupport           $imagickSupport,
+               IConfig $config,
+               IRootFolder $rootFolder,
+               IAppData $appData,
+               IEventDispatcher $eventDispatcher,
+               GeneratorHelper $helper,
+               ?string $userId,
+               Coordinator $bootstrapCoordinator,
+               IServerContainer $container,
+               IBinaryFinder $binaryFinder,
+               IMagickSupport $imagickSupport,
        ) {
                $this->config = $config;
                $this->rootFolder = $rootFolder;
index 1df94e0a9c7aab872c87ca319ab22dca95f8af01..e0bb906e82d7a7d946e0d4f9120b5cacbf96eba7 100644 (file)
@@ -32,7 +32,7 @@ class Address implements IAddress {
                return Factory::parseAddressString($ip) !== null;
        }
 
-       public function matches(IRange... $ranges): bool {
+       public function matches(IRange ... $ranges): bool {
                foreach ($ranges as $range) {
                        if ($range->contains($this)) {
                                return true;
index cef511099b15259302aed66ceea99c488e8b683c..4eef88138985539c2f3149685b9345179945f542 100644 (file)
@@ -34,7 +34,7 @@ class RemoteAddress implements IRemoteAddress, IAddress {
                return Address::isValid($ip);
        }
 
-       public function matches(IRange... $ranges): bool {
+       public function matches(IRange ... $ranges): bool {
                return $this->ip === null
                        ? true
                        : $this->ip->matches(... $ranges);
index 5c2b868f41755e125f7521d90917602b00063f4c..d8c25c9a5c7f31759cf978e00f359bb2893b1c81 100644 (file)
@@ -34,11 +34,11 @@ use Psr\Log\LoggerInterface;
 class DeclarativeManager implements IDeclarativeManager {
        public function __construct(
                private IEventDispatcher $eventDispatcher,
-               private IGroupManager    $groupManager,
-               private Coordinator      $coordinator,
-               private IConfig          $config,
-               private IAppConfig       $appConfig,
-               private LoggerInterface  $logger,
+               private IGroupManager $groupManager,
+               private Coordinator $coordinator,
+               private IConfig $config,
+               private IAppConfig $appConfig,
+               private LoggerInterface $logger,
        ) {
        }
 
index 44563f2938c357b879ad1b0c4e548070c7778ae0..e6d3c6af87ee7ba561b10bdc9cccf2fe4d62292e 100644 (file)
@@ -42,20 +42,20 @@ class JSConfigHelper {
        private $excludedUserBackEnds = ['user_saml' => true, 'user_globalsiteselector' => true];
 
        public function __construct(
-               protected ServerVersion        $serverVersion,
-               protected IL10N                $l,
-               protected Defaults             $defaults,
-               protected IAppManager          $appManager,
-               protected ISession             $session,
-               protected ?IUser               $currentUser,
-               protected IConfig              $config,
-               protected IGroupManager        $groupManager,
-               protected IniGetWrapper        $iniWrapper,
-               protected IURLGenerator        $urlGenerator,
-               protected CapabilitiesManager  $capabilitiesManager,
+               protected ServerVersion $serverVersion,
+               protected IL10N $l,
+               protected Defaults $defaults,
+               protected IAppManager $appManager,
+               protected ISession $session,
+               protected ?IUser $currentUser,
+               protected IConfig $config,
+               protected IGroupManager $groupManager,
+               protected IniGetWrapper $iniWrapper,
+               protected IURLGenerator $urlGenerator,
+               protected CapabilitiesManager $capabilitiesManager,
                protected IInitialStateService $initialStateService,
-               protected IProvider            $tokenProvider,
-               protected FilenameValidator    $filenameValidator,
+               protected IProvider $tokenProvider,
+               protected FilenameValidator $filenameValidator,
        ) {
        }
 
index 781d820793406560c38d4b5daaa85876a6b76431..2942fd7d0aa1c0a9308bbeaf5ffa90d6e6ca1035 100644 (file)
@@ -19,8 +19,8 @@ use OCP\TextProcessing\IManager;
 
 class TaskBackgroundJob extends QueuedJob {
        public function __construct(
-               ITimeFactory             $timeFactory,
-               private IManager         $textProcessingManager,
+               ITimeFactory $timeFactory,
+               private IManager $textProcessingManager,
                private IEventDispatcher $eventDispatcher,
        ) {
                parent::__construct($timeFactory);
index 6fcef435249d577b41331e5c508ed552e8481f57..408ebffb3903ebbe9ce790b5a8d3e12101dbb21a 100644 (file)
@@ -70,14 +70,14 @@ class Session implements IUserSession, Emitter {
        protected $activeUser;
 
        public function __construct(
-               private Manager          $manager,
-               private ISession         $session,
-               private ITimeFactory     $timeFactory,
-               private ?IProvider       $tokenProvider,
-               private IConfig          $config,
-               private ISecureRandom    $random,
+               private Manager $manager,
+               private ISession $session,
+               private ITimeFactory $timeFactory,
+               private ?IProvider $tokenProvider,
+               private IConfig $config,
+               private ISecureRandom $random,
                private ILockdownManager $lockdownManager,
-               private LoggerInterface  $logger,
+               private LoggerInterface $logger,
                private IEventDispatcher $dispatcher,
        ) {
        }
index 242418962fc6c960c8f294c94180238a23de8a2d..bff7744ddcec791c18efa990d69a7ff084af7ac2 100644 (file)
@@ -24,7 +24,7 @@ interface IAddress {
         *
         * @since 30.0.0
         */
-       public function matches(IRange... $ranges): bool;
+       public function matches(IRange ... $ranges): bool;
 
        /**
         * Normalized IP address
index 50e2e9008ea1f3685f4a79a82cad6ab1f8561ba6..22a07f3d4308ebf407f578e2fd1f45bdf063bd1f 100644 (file)
@@ -34,8 +34,8 @@ interface ILimiter {
         *
         */
        public function registerAnonRequest(string $identifier,
-               int    $anonLimit,
-               int    $anonPeriod,
+               int $anonLimit,
+               int $anonPeriod,
                string $ip): void;
 
        /**
@@ -50,7 +50,7 @@ interface ILimiter {
         *
         */
        public function registerUserRequest(string $identifier,
-               int    $userLimit,
-               int    $userPeriod,
-               IUser  $user): void;
+               int $userLimit,
+               int $userPeriod,
+               IUser $user): void;
 }
index 6e6a3ac3e90ad55f53746a942bd55a89f6d53c6e..32ba19362f5b35e8b39c915ee65ef39a47fa5970 100644 (file)
         },
         {
             "name": "nextcloud/coding-standard",
-            "version": "v1.3.1",
+            "version": "v1.3.2",
             "source": {
                 "type": "git",
                 "url": "https://github.com/nextcloud/coding-standard.git",
-                "reference": "e88acb0df6217b808d1632286ddfec9267a102e4"
+                "reference": "9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/e88acb0df6217b808d1632286ddfec9267a102e4",
-                "reference": "e88acb0df6217b808d1632286ddfec9267a102e4",
+                "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d",
+                "reference": "9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d",
                 "shasum": ""
             },
             "require": {
@@ -90,9 +90,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.3.1"
+                "source": "https://github.com/nextcloud/coding-standard/tree/v1.3.2"
             },
-            "time": "2024-09-19T09:07:10+00:00"
+            "time": "2024-10-14T16:49:05+00:00"
         },
         {
             "name": "php-cs-fixer/shim",