diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-04-30 08:04:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 08:04:05 +0000 |
commit | cb27fbc3bb9423ee5b4c7e30df46de14ba33ec9b (patch) | |
tree | 792f7607342c61af8711685deecdd329f37f3675 | |
parent | fce8f97779aa9268938cf085f66e31963c510bbb (diff) | |
parent | 78e346208ca1feb5806fc5c8982d386b076e97bb (diff) | |
download | nextcloud-server-cb27fbc3bb9423ee5b4c7e30df46de14ba33ec9b.tar.gz nextcloud-server-cb27fbc3bb9423ee5b4c7e30df46de14ba33ec9b.zip |
Merge pull request #44533 from nextcloud/dependabot/composer/vendor-bin/psalm/vimeo/psalm-5.23.1
34 files changed, 1209 insertions, 1133 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index f54fbbdd15a..f60b18c4c2a 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -125,7 +125,7 @@ class File extends Node implements IFile { * different object on a subsequent GET you are strongly recommended to not * return an ETag, and just return null. * - * @param resource $data + * @param resource|string $data * * @throws Forbidden * @throws UnsupportedMediaType diff --git a/apps/files/lib/Service/OwnershipTransferService.php b/apps/files/lib/Service/OwnershipTransferService.php index 1a28785fa1f..dabb9fd5d08 100644 --- a/apps/files/lib/Service/OwnershipTransferService.php +++ b/apps/files/lib/Service/OwnershipTransferService.php @@ -244,7 +244,7 @@ class OwnershipTransferService { $encryptedFiles = []; $this->walkFiles($view, $sourcePath, - function (FileInfo $fileInfo) use ($progress) { + function (FileInfo $fileInfo) use ($progress, &$encryptedFiles) { if ($fileInfo->getType() === FileInfo::TYPE_FOLDER) { // only analyze into folders from main storage, if (!$fileInfo->getStorage()->instanceOfStorage(IHomeStorage::class)) { diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index e6fc5dd3e22..1430b607519 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -513,6 +513,9 @@ class SFTP extends Common { $result = $this->getConnection()->put($this->absPath($path), $stream); fclose($stream); if ($result) { + if ($size === null) { + throw new \Exception("Failed to get written size from sftp storage wrapper"); + } return $size; } else { throw new \Exception("Failed to write steam to sftp storage"); diff --git a/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php b/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php index c6f5c9802ca..a89916f5edb 100644 --- a/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php +++ b/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php @@ -102,9 +102,11 @@ class PhpOpcacheSetup implements ISetupCheck { $recommendations[] = $this->l10n->t('The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply "opcache.memory_consumption" to your PHP configuration with a value higher than "%s".', [($this->iniGetWrapper->getNumeric('opcache.memory_consumption') ?: 'currently')]); } + $interned_strings_buffer = $this->iniGetWrapper->getNumeric('opcache.interned_strings_buffer') ?? 0; + $memory_consumption = $this->iniGetWrapper->getNumeric('opcache.memory_consumption') ?? 0; if ( // Do not recommend to raise the interned strings buffer size above a quarter of the total OPcache size - ($this->iniGetWrapper->getNumeric('opcache.interned_strings_buffer') ?? $this->iniGetWrapper->getNumeric('opcache.memory_consumption') > 0 ?? 0 / 4) && + ($interned_strings_buffer < ($memory_consumption / 4)) && ( empty($status['interned_strings_usage']['free_memory']) || ($status['interned_strings_usage']['used_memory'] / $status['interned_strings_usage']['free_memory'] > 9) diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php index 71ab0a6dc6c..a2f8ee0abad 100644 --- a/apps/theming/lib/Util.php +++ b/apps/theming/lib/Util.php @@ -218,7 +218,7 @@ class Util { /** - * @param $app string app name + * @param string $app app name * @return string|ISimpleFile path to app icon / file of logo */ public function getAppIcon($app) { @@ -248,8 +248,8 @@ class Util { } /** - * @param $app string app name - * @param $image string relative path to image in app folder + * @param string $app app name + * @param string $image relative path to image in app folder * @return string|false absolute path to image */ public function getAppImage($app, $image) { @@ -295,8 +295,8 @@ class Util { /** * replace default color with a custom one * - * @param $svg string content of a svg file - * @param $color string color to match + * @param string $svg content of a svg file + * @param string $color color to match * @return string */ public function colorizeSvg($svg, $color) { diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 63241667825..676cf77e990 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -48,7 +48,7 @@ $configuration = new \OCA\User_LDAP\Configuration($prefix); $con = new \OCA\User_LDAP\Connection($ldapWrapper, $prefix, null); $con->setConfiguration($configuration->getConfiguration()); -$con->ldapConfigurationActive = true; +$con->ldapConfigurationActive = (string)true; $con->setIgnoreValidation(true); $factory = \OC::$server->get(\OCA\User_LDAP\AccessFactory::class); diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index b0bb600cb3b..e0aa095de54 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -38,8 +38,76 @@ namespace OCA\User_LDAP; use Psr\Log\LoggerInterface; /** - * @property int ldapPagingSize holds an integer - * @property string ldapUserAvatarRule + * @property string $ldapHost + * @property string $ldapPort + * @property string $ldapBackupHost + * @property string $ldapBackupPort + * @property string $ldapBackgroundHost + * @property string $ldapBackgroundPort + * @property array|'' $ldapBase + * @property array|'' $ldapBaseUsers + * @property array|'' $ldapBaseGroups + * @property string $ldapAgentName + * @property string $ldapAgentPassword + * @property string $ldapTLS + * @property string $turnOffCertCheck + * @property string $ldapIgnoreNamingRules + * @property string $ldapUserDisplayName + * @property string $ldapUserDisplayName2 + * @property string $ldapUserAvatarRule + * @property string $ldapGidNumber + * @property array|'' $ldapUserFilterObjectclass + * @property array|'' $ldapUserFilterGroups + * @property string $ldapUserFilter + * @property string $ldapUserFilterMode + * @property string $ldapGroupFilter + * @property string $ldapGroupFilterMode + * @property array|'' $ldapGroupFilterObjectclass + * @property array|'' $ldapGroupFilterGroups + * @property string $ldapGroupDisplayName + * @property string $ldapGroupMemberAssocAttr + * @property string $ldapLoginFilter + * @property string $ldapLoginFilterMode + * @property string $ldapLoginFilterEmail + * @property string $ldapLoginFilterUsername + * @property array|'' $ldapLoginFilterAttributes + * @property string $ldapQuotaAttribute + * @property string $ldapQuotaDefault + * @property string $ldapEmailAttribute + * @property string $ldapCacheTTL + * @property string $ldapUuidUserAttribute + * @property string $ldapUuidGroupAttribute + * @property string $ldapOverrideMainServer + * @property string $ldapConfigurationActive + * @property array|'' $ldapAttributesForUserSearch + * @property array|'' $ldapAttributesForGroupSearch + * @property string $ldapExperiencedAdmin + * @property string $homeFolderNamingRule + * @property string $hasMemberOfFilterSupport + * @property string $useMemberOfToDetectMembership + * @property string $ldapExpertUsernameAttr + * @property string $ldapExpertUUIDUserAttr + * @property string $ldapExpertUUIDGroupAttr + * @property string $markRemnantsAsDisabled + * @property string $lastJpegPhotoLookup + * @property string $ldapNestedGroups + * @property string $ldapPagingSize + * @property string $turnOnPasswordChange + * @property string $ldapDynamicGroupMemberURL + * @property string $ldapDefaultPPolicyDN + * @property string $ldapExtStorageHomeAttribute + * @property string $ldapMatchingRuleInChainState + * @property string $ldapConnectionTimeout + * @property string $ldapAttributePhone + * @property string $ldapAttributeWebsite + * @property string $ldapAttributeAddress + * @property string $ldapAttributeTwitter + * @property string $ldapAttributeFediverse + * @property string $ldapAttributeOrganisation + * @property string $ldapAttributeRole + * @property string $ldapAttributeHeadline + * @property string $ldapAttributeBiography + * @property string $ldapAdminGroup */ class Configuration { public const AVATAR_PREFIX_DEFAULT = 'default'; diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 7c780ccbb4a..8c21032cfe6 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -41,49 +41,79 @@ use OC\ServerNotAvailableException; use Psr\Log\LoggerInterface; /** - * magic properties (incomplete) + * magic properties * responsible for LDAP connections in context with the provided configuration * - * @property string ldapHost - * @property string ldapPort holds the port number - * @property string ldapUserFilter - * @property string ldapUserDisplayName - * @property string ldapUserDisplayName2 - * @property string ldapUserAvatarRule - * @property boolean turnOnPasswordChange - * @property string[] ldapBaseUsers - * @property int|null ldapPagingSize holds an integer - * @property bool|mixed|void ldapGroupMemberAssocAttr - * @property string ldapUuidUserAttribute - * @property string ldapUuidGroupAttribute - * @property string ldapExpertUUIDUserAttr - * @property string ldapExpertUUIDGroupAttr - * @property string ldapQuotaAttribute - * @property string ldapQuotaDefault - * @property string ldapEmailAttribute - * @property string ldapExtStorageHomeAttribute - * @property string homeFolderNamingRule - * @property bool|string markRemnantsAsDisabled - * @property bool|string ldapNestedGroups - * @property string[] ldapBaseGroups - * @property string ldapGroupFilter - * @property string ldapGroupDisplayName - * @property string ldapLoginFilter - * @property string ldapDynamicGroupMemberURL - * @property string ldapGidNumber - * @property int hasMemberOfFilterSupport - * @property int useMemberOfToDetectMembership - * @property string ldapMatchingRuleInChainState - * @property string ldapAttributePhone - * @property string ldapAttributeWebsite - * @property string ldapAttributeAddress - * @property string ldapAttributeTwitter - * @property string ldapAttributeFediverse - * @property string ldapAttributeOrganisation - * @property string ldapAttributeRole - * @property string ldapAttributeHeadline - * @property string ldapAttributeBiography - * @property string ldapAdminGroup + * @property string $ldapHost + * @property string $ldapPort + * @property string $ldapBackupHost + * @property string $ldapBackupPort + * @property string $ldapBackgroundHost + * @property string $ldapBackgroundPort + * @property array|'' $ldapBase + * @property array|'' $ldapBaseUsers + * @property array|'' $ldapBaseGroups + * @property string $ldapAgentName + * @property string $ldapAgentPassword + * @property string $ldapTLS + * @property string $turnOffCertCheck + * @property string $ldapIgnoreNamingRules + * @property string $ldapUserDisplayName + * @property string $ldapUserDisplayName2 + * @property string $ldapUserAvatarRule + * @property string $ldapGidNumber + * @property array|'' $ldapUserFilterObjectclass + * @property array|'' $ldapUserFilterGroups + * @property string $ldapUserFilter + * @property string $ldapUserFilterMode + * @property string $ldapGroupFilter + * @property string $ldapGroupFilterMode + * @property array|'' $ldapGroupFilterObjectclass + * @property array|'' $ldapGroupFilterGroups + * @property string $ldapGroupDisplayName + * @property string $ldapGroupMemberAssocAttr + * @property string $ldapLoginFilter + * @property string $ldapLoginFilterMode + * @property string $ldapLoginFilterEmail + * @property string $ldapLoginFilterUsername + * @property array|'' $ldapLoginFilterAttributes + * @property string $ldapQuotaAttribute + * @property string $ldapQuotaDefault + * @property string $ldapEmailAttribute + * @property string $ldapCacheTTL + * @property string $ldapUuidUserAttribute + * @property string $ldapUuidGroupAttribute + * @property string $ldapOverrideMainServer + * @property string $ldapConfigurationActive + * @property array|'' $ldapAttributesForUserSearch + * @property array|'' $ldapAttributesForGroupSearch + * @property string $ldapExperiencedAdmin + * @property string $homeFolderNamingRule + * @property string $hasMemberOfFilterSupport + * @property string $useMemberOfToDetectMembership + * @property string $ldapExpertUsernameAttr + * @property string $ldapExpertUUIDUserAttr + * @property string $ldapExpertUUIDGroupAttr + * @property string $markRemnantsAsDisabled + * @property string $lastJpegPhotoLookup + * @property string $ldapNestedGroups + * @property string $ldapPagingSize + * @property string $turnOnPasswordChange + * @property string $ldapDynamicGroupMemberURL + * @property string $ldapDefaultPPolicyDN + * @property string $ldapExtStorageHomeAttribute + * @property string $ldapMatchingRuleInChainState + * @property string $ldapConnectionTimeout + * @property string $ldapAttributePhone + * @property string $ldapAttributeWebsite + * @property string $ldapAttributeAddress + * @property string $ldapAttributeTwitter + * @property string $ldapAttributeFediverse + * @property string $ldapAttributeOrganisation + * @property string $ldapAttributeRole + * @property string $ldapAttributeHeadline + * @property string $ldapAttributeBiography + * @property string $ldapAdminGroup */ class Connection extends LDAPUtility { private ?\LDAP\Connection $ldapConnectionRes = null; @@ -418,7 +448,7 @@ class Connection extends LDAPUtility { $backupPort = (int)$this->configuration->ldapBackupPort; if ($backupPort <= 0) { - $this->configuration->backupPort = $this->configuration->ldapPort; + $this->configuration->ldapBackupPort = $this->configuration->ldapPort; } //make sure empty search attributes are saved as simple, empty array @@ -433,7 +463,7 @@ class Connection extends LDAPUtility { if ((stripos((string)$this->configuration->ldapHost, 'ldaps://') === 0) && $this->configuration->ldapTLS) { - $this->configuration->ldapTLS = false; + $this->configuration->ldapTLS = (string)false; $this->logger->info( 'LDAPS (already using secure connection) and TLS do not work together. Switched off TLS.', ['app' => 'user_ldap'] diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 1544d5f91e9..718e915372f 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -73,7 +73,7 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGet $this->backends[$configPrefix] = new Group_LDAP($this->getAccess($configPrefix), $this->groupPluginManager, $this->config, $this->ncUserManager); if (is_null($this->refBackend)) { - $this->refBackend = &$this->backends[$configPrefix]; + $this->refBackend = $this->backends[$configPrefix]; } } diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index b92aa2fcfaa..16371df1562 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -169,7 +169,7 @@ class Sync extends TimedJob { $results = $access->fetchListOfUsers( $filter, $access->userManager->getAttributes(), - $connection->ldapPagingSize, + (int)$connection->ldapPagingSize, $cycleData['offset'], true ); diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php index 01f4e16ab10..9322b6fbdaa 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -204,6 +204,7 @@ class LDAP implements ILDAPWrapper { $serverControls = []; } + /** @psalm-suppress UndefinedVariable $oldHandler is defined when the closure is called but psalm fails to get that */ $oldHandler = set_error_handler(function ($no, $message, $file, $line) use (&$oldHandler) { if (str_contains($message, 'Partial search results returned: Sizelimit exceeded')) { return true; diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index 96415491e41..3df1990359a 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -97,7 +97,7 @@ class User_Proxy extends Proxy implements IUserBackend, UserInterface, IUserLDAP ); if (is_null($this->refBackend)) { - $this->refBackend = &$this->backends[$configPrefix]; + $this->refBackend = $this->backends[$configPrefix]; } } diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php index 1b4c9162b71..1e55d67543f 100644 --- a/apps/user_ldap/lib/Wizard.php +++ b/apps/user_ldap/lib/Wizard.php @@ -414,7 +414,7 @@ class Wizard extends LDAPUtility { $this->fetchGroups($dbKey, $confKey); if ($testMemberOf) { - $this->configuration->hasMemberOfFilterSupport = $this->testMemberOf(); + $this->configuration->hasMemberOfFilterSupport = (string)$this->testMemberOf(); $this->result->markChange(); if (!$this->configuration->hasMemberOfFilterSupport) { throw new \Exception('memberOf is not supported by the server'); @@ -700,8 +700,8 @@ class Wizard extends LDAPUtility { if ($settingsFound === true) { $config = [ - 'ldapPort' => $p, - 'ldapTLS' => (int)$t + 'ldapPort' => (string)$p, + 'ldapTLS' => (string)$t, ]; $this->configuration->setConfiguration($config); $this->logger->debug( @@ -1322,7 +1322,7 @@ class Wizard extends LDAPUtility { $this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3); $this->ldap->setOption($cr, LDAP_OPT_REFERRALS, 0); $this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT); - if ($this->configuration->ldapTLS === 1) { + if ($this->configuration->ldapTLS) { $this->ldap->startTls($cr); } @@ -1337,6 +1337,9 @@ class Wizard extends LDAPUtility { return false; } + /** + * @return array<array{port:int,tls:bool}> + */ private function getDefaultLdapPortSettings(): array { static $settings = [ ['port' => 7636, 'tls' => false], @@ -1349,6 +1352,9 @@ class Wizard extends LDAPUtility { return $settings; } + /** + * @return array<array{port:int,tls:bool}> + */ private function getPortSettingsToTry(): array { //389 ← LDAP / Unencrypted or StartTLS //636 ← LDAPS / SSL @@ -1367,7 +1373,7 @@ class Wizard extends LDAPUtility { } $portSettings[] = ['port' => $port, 'tls' => false]; } elseif ($this->configuration->usesLdapi()) { - $portSettings[] = ['port' => '', 'tls' => false]; + $portSettings[] = ['port' => 0, 'tls' => false]; } //default ports diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index da3ff49f5f3..e828344c122 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,99 +1,97 @@ <?xml version="1.0" encoding="UTF-8"?> -<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163"> +<files psalm-version="5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4"> <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php"> <MoreSpecificImplementedParamType> - <code>$data</code> + <code><![CDATA[$data]]></code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php"> <MoreSpecificImplementedParamType> - <code>$data</code> + <code><![CDATA[$data]]></code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php"> <MoreSpecificImplementedParamType> - <code>$data</code> + <code><![CDATA[$data]]></code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php"> <MoreSpecificImplementedParamType> - <code>$data</code> + <code><![CDATA[$data]]></code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php"> <InvalidPropertyAssignmentValue> - <code>$principalUri</code> + <code><![CDATA[$principalUri]]></code> </InvalidPropertyAssignmentValue> <MoreSpecificImplementedParamType> - <code>$data</code> + <code><![CDATA[$data]]></code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CardDAV/Card.php"> <MoreSpecificImplementedParamType> - <code>$cardData</code> + <code><![CDATA[$cardData]]></code> </MoreSpecificImplementedParamType> </file> + <file src="3rdparty/sabre/dav/lib/DAV/SimpleCollection.php"> + <NoValue> + <code><![CDATA[$child]]></code> + <code><![CDATA[$child]]></code> + </NoValue> + </file> <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php"> <LessSpecificImplementedReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </LessSpecificImplementedReturnType> </file> <file src="3rdparty/symfony/routing/Route.php"> <MethodSignatureMustProvideReturnType> - <code>unserialize</code> + <code><![CDATA[unserialize]]></code> </MethodSignatureMustProvideReturnType> </file> - <file src="apps/comments/lib/Notification/Listener.php"> - <LessSpecificReturnStatement> - <code>$uids</code> - </LessSpecificReturnStatement> - <MoreSpecificReturnType> - <code><![CDATA[list<string>]]></code> - </MoreSpecificReturnType> - </file> <file src="apps/dav/appinfo/v1/caldav.php"> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/carddav.php"> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/publicwebdav.php"> <InternalMethod> - <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code> - <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code> + <code><![CDATA[\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)]]></code> + <code><![CDATA[\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)]]></code> </InternalMethod> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/webdav.php"> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v2/direct.php"> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v2/remote.php"> <UndefinedGlobalVariable> - <code>$baseuri</code> + <code><![CDATA[$baseuri]]></code> </UndefinedGlobalVariable> </file> <file src="apps/dav/lib/AppInfo/Application.php"> <InvalidArgument> - <code>registerEventListener</code> + <code><![CDATA[registerEventListener]]></code> </InvalidArgument> </file> <file src="apps/dav/lib/CalDAV/BirthdayService.php"> <UndefinedMethod> - <code>setDateTime</code> - <code>setDateTime</code> + <code><![CDATA[setDateTime]]></code> + <code><![CDATA[setDateTime]]></code> </UndefinedMethod> <UndefinedPropertyFetch> <code><![CDATA[$existingBirthday->VEVENT->DTSTART]]></code> @@ -107,61 +105,61 @@ <code><![CDATA[$this->objectData['calendardata']]]></code> </NullableReturnStatement> <ParamNameMismatch> - <code>$calendarData</code> - <code>$calendarData</code> + <code><![CDATA[$calendarData]]></code> + <code><![CDATA[$calendarData]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/CalDavBackend.php"> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <LessSpecificReturnStatement> - <code>Reader::read($objectData)</code> + <code><![CDATA[Reader::read($objectData)]]></code> </LessSpecificReturnStatement> <MoreSpecificImplementedParamType> - <code>$objectData</code> - <code>$uris</code> - <code>$uris</code> + <code><![CDATA[$objectData]]></code> + <code><![CDATA[$uris]]></code> + <code><![CDATA[$uris]]></code> </MoreSpecificImplementedParamType> <MoreSpecificReturnType> - <code>VCalendar</code> + <code><![CDATA[VCalendar]]></code> </MoreSpecificReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/dav/lib/CalDAV/CalendarHome.php"> <InvalidNullableReturnType> - <code>INode</code> + <code><![CDATA[INode]]></code> </InvalidNullableReturnType> <LessSpecificImplementedReturnType> - <code>INode</code> + <code><![CDATA[INode]]></code> </LessSpecificImplementedReturnType> <NullableReturnStatement> <code><![CDATA[$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)]]></code> </NullableReturnStatement> <UndefinedInterfaceMethod> - <code>calendarSearch</code> + <code><![CDATA[calendarSearch]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/CalDAV/CalendarRoot.php"> <ParamNameMismatch> - <code>$principal</code> + <code><![CDATA[$principal]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/Plugin.php"> <ImplementedReturnTypeMismatch> - <code>string|null</code> + <code><![CDATA[string|null]]></code> </ImplementedReturnTypeMismatch> </file> <file src="apps/dav/lib/CalDAV/Principal/Collection.php"> <ParamNameMismatch> - <code>$principalInfo</code> + <code><![CDATA[$principalInfo]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/PublicCalendar.php"> <MoreSpecificImplementedParamType> - <code>$paths</code> + <code><![CDATA[$paths]]></code> </MoreSpecificImplementedParamType> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php"> @@ -169,47 +167,47 @@ <code><![CDATA[$vevent->DTEND]]></code> </LessSpecificReturnStatement> <UndefinedMethod> - <code>hasTime</code> - <code>isFloating</code> - <code>isFloating</code> + <code><![CDATA[hasTime]]></code> + <code><![CDATA[isFloating]]></code> + <code><![CDATA[isFloating]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php"> <LessSpecificReturnStatement> - <code>$emailAddresses</code> + <code><![CDATA[$emailAddresses]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> <code><![CDATA[array<string, array{LANG?: string}>]]></code> </MoreSpecificReturnType> <UndefinedMethod> - <code>getDateTime</code> - <code>getDateTime</code> - <code>isFloating</code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[isFloating]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php"> <UndefinedConstant> - <code>$provider::NOTIFICATION_TYPE</code> + <code><![CDATA[$provider::NOTIFICATION_TYPE]]></code> </UndefinedConstant> </file> <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php"> <TypeDoesNotContainType> - <code>$diff === false</code> + <code><![CDATA[$diff === false]]></code> </TypeDoesNotContainType> </file> <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php"> <LessSpecificReturnStatement> - <code>$vevents</code> - <code>VObject\Reader::read($calendarData, - VObject\Reader::OPTION_FORGIVING)</code> + <code><![CDATA[$vevents]]></code> + <code><![CDATA[VObject\Reader::read($calendarData, + VObject\Reader::OPTION_FORGIVING)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>VObject\Component\VCalendar|null</code> - <code>VObject\Component\VEvent[]</code> + <code><![CDATA[VObject\Component\VCalendar|null]]></code> + <code><![CDATA[VObject\Component\VEvent[]]]></code> </MoreSpecificReturnType> <UndefinedMethod> - <code>getDateTime</code> - <code>getDateTime</code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[getDateTime]]></code> </UndefinedMethod> <UndefinedPropertyFetch> <code><![CDATA[$valarm->parent->UID]]></code> @@ -217,17 +215,17 @@ </file> <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php"> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>$principals</code> + <code><![CDATA[$principals]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string[]</code> + <code><![CDATA[string[]]]></code> </InvalidReturnType> <NullableReturnStatement> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php"> @@ -241,8 +239,8 @@ </file> <file src="apps/dav/lib/CalDAV/Schedule/IMipService.php"> <UndefinedMethod> - <code>getNormalizedValue</code> - <code>getNormalizedValue</code> + <code><![CDATA[getNormalizedValue]]></code> + <code><![CDATA[getNormalizedValue]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php"> @@ -254,20 +252,20 @@ <code><![CDATA[$vevent->DTEND]]></code> </LessSpecificReturnStatement> <UndefinedInterfaceMethod> - <code>get</code> - <code>getChildren</code> + <code><![CDATA[get]]></code> + <code><![CDATA[getChildren]]></code> </UndefinedInterfaceMethod> <UndefinedMethod> - <code>getDateTime</code> - <code>hasTime</code> - <code>isFloating</code> - <code>isFloating</code> - <code>principalSearch</code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[hasTime]]></code> + <code><![CDATA[isFloating]]></code> + <code><![CDATA[isFloating]]></code> + <code><![CDATA[principalSearch]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php"> <InvalidNullableReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidNullableReturnType> </file> <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php"> @@ -278,7 +276,7 @@ ]]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php"> @@ -293,7 +291,7 @@ </file> <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php"> <InvalidArgument> - <code>$webcalData</code> + <code><![CDATA[$webcalData]]></code> </InvalidArgument> </file> <file src="apps/dav/lib/CardDAV/AddressBookImpl.php"> @@ -302,26 +300,26 @@ <code><![CDATA[$this->getKey()]]></code> </InvalidArgument> <LessSpecificReturnStatement> - <code>Reader::read($cardData)</code> + <code><![CDATA[Reader::read($cardData)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>VCard</code> + <code><![CDATA[VCard]]></code> </MoreSpecificReturnType> </file> <file src="apps/dav/lib/CardDAV/AddressBookRoot.php"> <ParamNameMismatch> - <code>$principal</code> + <code><![CDATA[$principal]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CardDAV/CardDavBackend.php"> <FalsableReturnStatement> - <code>false</code> + <code><![CDATA[false]]></code> </FalsableReturnStatement> <LessSpecificReturnStatement> - <code>Reader::read($cardData)</code> + <code><![CDATA[Reader::read($cardData)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>VCard</code> + <code><![CDATA[VCard]]></code> </MoreSpecificReturnType> <TypeDoesNotContainType> <code><![CDATA[$addressBooks[$row['id']][$readOnlyPropertyName] === 0]]></code> @@ -329,23 +327,12 @@ </file> <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php"> <InvalidNullableReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidNullableReturnType> </file> - <file src="apps/dav/lib/CardDAV/PhotoCache.php"> - <LessSpecificReturnStatement> - <code><![CDATA[[ - 'Content-Type' => $type, - 'body' => $val - ]]]></code> - </LessSpecificReturnStatement> - <MoreSpecificReturnType> - <code>false|array{body: string, Content-Type: string}</code> - </MoreSpecificReturnType> - </file> <file src="apps/dav/lib/CardDAV/Plugin.php"> <ImplementedReturnTypeMismatch> - <code>string|null</code> + <code><![CDATA[string|null]]></code> </ImplementedReturnTypeMismatch> </file> <file src="apps/dav/lib/CardDAV/UserAddressBooks.php"> @@ -356,89 +343,86 @@ </file> <file src="apps/dav/lib/CardDAV/Xml/Groups.php"> <InvalidPropertyAssignmentValue> - <code>$groups</code> + <code><![CDATA[$groups]]></code> </InvalidPropertyAssignmentValue> </file> <file src="apps/dav/lib/Comments/CommentsPlugin.php"> <UndefinedFunction> - <code>\Sabre\HTTP\toDate($value)</code> + <code><![CDATA[\Sabre\HTTP\toDate($value)]]></code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php"> <InvalidNullableReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidNullableReturnType> </file> <file src="apps/dav/lib/Connector/Sabre/Auth.php"> <LessSpecificReturnStatement> - <code>$data</code> + <code><![CDATA[$data]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>array{bool, string}</code> + <code><![CDATA[array{bool, string}]]></code> </MoreSpecificReturnType> </file> <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php"> <UndefinedInterfaceMethod> - <code>tryTokenLogin</code> + <code><![CDATA[tryTokenLogin]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/Directory.php"> <InvalidPropertyAssignmentValue> - <code>$nodes</code> + <code><![CDATA[$nodes]]></code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement> <code><![CDATA[$this->dirContent]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>\Sabre\DAV\INode[]</code> + <code><![CDATA[\Sabre\DAV\INode[]]]></code> </InvalidReturnType> <LessSpecificReturnStatement> <code><![CDATA[$this->node]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Folder</code> + <code><![CDATA[Folder]]></code> </MoreSpecificReturnType> <NullArgument> - <code>null</code> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullArgument> <ParamNameMismatch> - <code>$fullSourcePath</code> + <code><![CDATA[$fullSourcePath]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/Connector/Sabre/File.php"> <LessSpecificReturnStatement> <code><![CDATA[$this->node]]></code> </LessSpecificReturnStatement> - <MoreSpecificImplementedParamType> - <code>$data</code> - </MoreSpecificImplementedParamType> <MoreSpecificReturnType> - <code>\OCP\Files\File</code> + <code><![CDATA[\OCP\Files\File]]></code> </MoreSpecificReturnType> </file> <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php"> <InvalidArgument> - <code>0</code> + <code><![CDATA[0]]></code> </InvalidArgument> <InvalidNullableReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidNullableReturnType> <TooManyArguments> <code><![CDATA[new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)]]></code> </TooManyArguments> <UndefinedClass> - <code>\OCA\Circles\Api\v1\Circles</code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> </UndefinedClass> <UndefinedInterfaceMethod> - <code>getPath</code> + <code><![CDATA[getPath]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/Node.php"> <InvalidNullableReturnType> - <code>int</code> - <code>integer</code> + <code><![CDATA[int]]></code> + <code><![CDATA[integer]]></code> </InvalidNullableReturnType> <NullableReturnStatement> <code><![CDATA[$this->info->getId()]]></code> @@ -447,41 +431,41 @@ </file> <file src="apps/dav/lib/Connector/Sabre/Principal.php"> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>$principals</code> + <code><![CDATA[$principals]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string[]</code> + <code><![CDATA[string[]]]></code> </InvalidReturnType> <InvalidScalarArgument> - <code>$results</code> + <code><![CDATA[$results]]></code> </InvalidScalarArgument> <NullableReturnStatement> <code><![CDATA[$this->circleToPrincipal($decodedName) ?: $this->circleToPrincipal($name)]]></code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <UndefinedClass> - <code>\OCA\Circles\Api\v1\Circles</code> - <code>\OCA\Circles\Api\v1\Circles</code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> </UndefinedClass> </file> <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php"> <TooManyArguments> - <code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code> + <code><![CDATA[new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)]]></code> </TooManyArguments> </file> <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php"> <InvalidArgument> - <code>$shareType</code> + <code><![CDATA[$shareType]]></code> </InvalidArgument> </file> <file src="apps/dav/lib/Connector/Sabre/ShareeList.php"> @@ -491,10 +475,10 @@ </file> <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php"> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <UndefinedInterfaceMethod> - <code>getId</code> + <code><![CDATA[getId]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Controller/InvitationResponseController.php"> @@ -504,39 +488,39 @@ </file> <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php"> <InvalidArgument> - <code>$whereValues</code> + <code><![CDATA[$whereValues]]></code> </InvalidArgument> </file> <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php"> <InvalidNullableReturnType> - <code>array</code> - <code>string</code> + <code><![CDATA[array]]></code> + <code><![CDATA[string]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>$principals</code> + <code><![CDATA[$principals]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string[]</code> + <code><![CDATA[string[]]]></code> </InvalidReturnType> <MoreSpecificImplementedParamType> - <code>$members</code> + <code><![CDATA[$members]]></code> </MoreSpecificImplementedParamType> <NullableReturnStatement> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php"> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/dav/lib/Direct/Server.php"> @@ -546,13 +530,13 @@ </file> <file src="apps/dav/lib/Files/FileSearchBackend.php"> <InvalidReturnStatement> - <code>$value</code> + <code><![CDATA[$value]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>?string</code> + <code><![CDATA[?string]]></code> </InvalidReturnType> <ParamNameMismatch> - <code>$search</code> + <code><![CDATA[$search]]></code> </ParamNameMismatch> <RedundantCondition> <code><![CDATA[$date->getTimestamp() !== false]]></code> @@ -567,7 +551,7 @@ <code><![CDATA[$this->backend->getArbiterPath()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="apps/dav/lib/HookManager.php"> @@ -578,12 +562,12 @@ </file> <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php"> <ParamNameMismatch> - <code>$arguments</code> + <code><![CDATA[$arguments]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php"> <ParamNameMismatch> - <code>$arguments</code> + <code><![CDATA[$arguments]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/Search/ContactsSearchProvider.php"> @@ -608,14 +592,14 @@ <code><![CDATA[$this->l10n->l('date', $startDateTime, ['width' => 'medium'])]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> <UndefinedMethod> - <code>getDateTime</code> - <code>getDateTime</code> - <code>hasTime</code> - <code>isFloating</code> - <code>isFloating</code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[hasTime]]></code> + <code><![CDATA[isFloating]]></code> + <code><![CDATA[isFloating]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/Search/TasksSearchProvider.php"> @@ -623,52 +607,52 @@ <code><![CDATA[$query->getCursor()]]></code> </InvalidOperand> <UndefinedMethod> - <code>getDateTime</code> - <code>getDateTime</code> - <code>hasTime</code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[getDateTime]]></code> + <code><![CDATA[hasTime]]></code> </UndefinedMethod> </file> <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php"> <ParamNameMismatch> - <code>$tagId</code> - <code>$tagName</code> + <code><![CDATA[$tagId]]></code> + <code><![CDATA[$tagName]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php"> <ParamNameMismatch> - <code>$objectName</code> + <code><![CDATA[$objectName]]></code> </ParamNameMismatch> </file> <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php"> <MoreSpecificImplementedParamType> - <code>$members</code> + <code><![CDATA[$members]]></code> </MoreSpecificImplementedParamType> </file> <file src="apps/dav/lib/Upload/AssemblyStream.php"> <FalsableReturnStatement> - <code>false</code> + <code><![CDATA[false]]></code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue> <code><![CDATA[$this->currentStream]]></code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement> - <code>$context</code> + <code><![CDATA[$context]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidReturnType> <RedundantFunctionCall> - <code>array_values</code> + <code><![CDATA[array_values]]></code> </RedundantFunctionCall> </file> <file src="apps/dav/lib/Upload/ChunkingV2Plugin.php"> <UndefinedInterfaceMethod> - <code>getId</code> - <code>getId</code> - <code>getId</code> - <code>getInternalPath</code> - <code>getNode</code> - <code>getSize</code> + <code><![CDATA[getId]]></code> + <code><![CDATA[getId]]></code> + <code><![CDATA[getId]]></code> + <code><![CDATA[getInternalPath]]></code> + <code><![CDATA[getNode]]></code> + <code><![CDATA[getSize]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/UserMigration/ContactsMigrator.php"> @@ -681,7 +665,7 @@ ]]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>array{name: string, displayName: string, description: ?string, vCards: VCard[]}</code> + <code><![CDATA[array{name: string, displayName: string, description: ?string, vCards: VCard[]}]]></code> </MoreSpecificReturnType> </file> <file src="apps/encryption/lib/Command/FixKeyLocation.php"> @@ -696,12 +680,12 @@ </file> <file src="apps/encryption/lib/Crypto/Encryption.php"> <ImplementedParamTypeMismatch> - <code>$position</code> + <code><![CDATA[$position]]></code> </ImplementedParamTypeMismatch> </file> <file src="apps/encryption/lib/KeyManager.php"> <InvalidThrow> - <code>throw $exception;</code> + <code><![CDATA[throw $exception;]]></code> </InvalidThrow> </file> <file src="apps/encryption/lib/Session.php"> @@ -714,48 +698,48 @@ <code><![CDATA[$this->files->getMount($path)->getStorage()]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>\OC\Files\Storage\Storage|null</code> + <code><![CDATA[\OC\Files\Storage\Storage|null]]></code> </MoreSpecificReturnType> </file> <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php"> <InvalidArgument> - <code>$id</code> - <code>$id</code> - <code>$id</code> - <code>$id</code> - <code>$id</code> - <code>$id</code> - <code>$remoteId</code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$remoteId]]></code> </InvalidArgument> </file> <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php"> <InvalidArgument> - <code>$shareId</code> - <code>$shareId</code> - <code>$shareId</code> - <code>$shareId</code> + <code><![CDATA[$shareId]]></code> + <code><![CDATA[$shareId]]></code> + <code><![CDATA[$shareId]]></code> + <code><![CDATA[$shareId]]></code> <code><![CDATA[(int)$data['id']]]></code> </InvalidArgument> </file> <file src="apps/federatedfilesharing/lib/Notifications.php"> <InvalidReturnType> - <code>bool</code> - <code>bool</code> - <code>bool</code> + <code><![CDATA[bool]]></code> + <code><![CDATA[bool]]></code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php"> <InvalidArgument> - <code>$id</code> - <code>$id</code> - <code>$id</code> - <code>$id</code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> + <code><![CDATA[$id]]></code> </InvalidArgument> <InvalidReturnStatement> - <code>$shareId</code> + <code><![CDATA[$shareId]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> <InvalidScalarArgument> <code><![CDATA[(int)$share['id']]]></code> @@ -763,27 +747,22 @@ </file> <file src="apps/federation/lib/DbHandler.php"> <LessSpecificReturnStatement> - <code>$result</code> + <code><![CDATA[$result]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> <code><![CDATA[list<array{id: int, url: string, url_hash: string, shared_secret: ?string, status: int, sync_token: ?string}>]]></code> </MoreSpecificReturnType> </file> - <file src="apps/files/ajax/download.php"> - <InvalidArgument> - <code>$files_list</code> - </InvalidArgument> - </file> <file src="apps/files/lib/Activity/Provider.php"> <FalsableReturnStatement> <code><![CDATA[$this->fileEncrypted[$fileId]]]></code> </FalsableReturnStatement> <LessSpecificReturnStatement> - <code>$folder</code> + <code><![CDATA[$folder]]></code> <code><![CDATA[$this->fileEncrypted[$fileId]]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Folder</code> + <code><![CDATA[Folder]]></code> </MoreSpecificReturnType> <TypeDoesNotContainType> <code><![CDATA[$this->fileIsEncrypted]]></code> @@ -804,53 +783,50 @@ </file> <file src="apps/files/lib/Command/ScanAppData.php"> <NullArgument> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="apps/files/lib/Controller/DirectEditingController.php"> <InvalidArgument> - <code>$templateId</code> + <code><![CDATA[$templateId]]></code> </InvalidArgument> <UndefinedInterfaceMethod> - <code>getTemplates</code> - <code>open</code> + <code><![CDATA[getTemplates]]></code> + <code><![CDATA[open]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Helper.php"> <UndefinedInterfaceMethod> - <code>$file</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> - <code>$i</code> + <code><![CDATA[$file]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> + <code><![CDATA[$i]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Service/OwnershipTransferService.php"> - <TypeDoesNotContainType> - <code>empty($encryptedFiles)</code> - </TypeDoesNotContainType> <UndefinedInterfaceMethod> - <code>isReadyForUser</code> + <code><![CDATA[isReadyForUser]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/files_external/appinfo/routes.php"> <InvalidScope> - <code>$this</code> + <code><![CDATA[$this]]></code> </InvalidScope> </file> <file src="apps/files_external/lib/Controller/StoragesController.php"> <RedundantCast> <code><![CDATA[(int)$e->getCode()]]></code> - <code>(int)$status</code> + <code><![CDATA[(int)$status]]></code> </RedundantCast> </file> <file src="apps/files_external/lib/Lib/Backend/Backend.php"> @@ -863,7 +839,7 @@ </file> <file src="apps/files_external/lib/Lib/Storage/SFTP.php"> <InternalMethod> - <code>put</code> + <code><![CDATA[put]]></code> </InternalMethod> </file> <file src="apps/files_external/lib/Lib/Storage/SMB.php"> @@ -882,59 +858,54 @@ <code><![CDATA[$object->lastModified]]></code> </InvalidArgument> <InvalidNullableReturnType> - <code>filetype</code> - <code>fopen</code> + <code><![CDATA[filetype]]></code> + <code><![CDATA[fopen]]></code> </InvalidNullableReturnType> </file> <file src="apps/files_external/lib/Migration/DummyUserSession.php"> <InvalidReturnType> - <code>login</code> + <code><![CDATA[login]]></code> </InvalidReturnType> </file> <file src="apps/files_external/lib/MountConfig.php"> <InternalMethod> - <code>decrypt</code> - <code>encrypt</code> - <code>setIV</code> - <code>setIV</code> - <code>setKey</code> + <code><![CDATA[decrypt]]></code> + <code><![CDATA[encrypt]]></code> + <code><![CDATA[setIV]]></code> + <code><![CDATA[setIV]]></code> + <code><![CDATA[setKey]]></code> </InternalMethod> <TooManyArguments> - <code>test</code> + <code><![CDATA[test]]></code> </TooManyArguments> </file> <file src="apps/files_sharing/lib/Controller/ShareAPIController.php"> <RedundantCast> - <code>(int)$code</code> - <code>(int)$code</code> + <code><![CDATA[(int)$code]]></code> + <code><![CDATA[(int)$code]]></code> </RedundantCast> <UndefinedClass> - <code>\OCA\Circles\Api\v1\Circles</code> - <code>\OCA\Circles\Api\v1\Circles</code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> </UndefinedClass> <UndefinedDocblockClass> <code><![CDATA[$this->getRoomShareHelper()]]></code> <code><![CDATA[$this->getRoomShareHelper()]]></code> <code><![CDATA[$this->getRoomShareHelper()]]></code> - <code>\OCA\Talk\Share\Helper\ShareAPIController</code> + <code><![CDATA[\OCA\Talk\Share\Helper\ShareAPIController]]></code> </UndefinedDocblockClass> </file> - <file src="apps/files_sharing/lib/Controller/ShareController.php"> - <InvalidArgument> - <code>$files_list</code> - </InvalidArgument> - </file> <file src="apps/files_sharing/lib/External/Manager.php"> <LessSpecificReturnStatement> - <code>$mount</code> + <code><![CDATA[$mount]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Mount</code> + <code><![CDATA[Mount]]></code> </MoreSpecificReturnType> </file> <file src="apps/files_sharing/lib/External/Scanner.php"> <MoreSpecificImplementedParamType> - <code>$cacheData</code> + <code><![CDATA[$cacheData]]></code> </MoreSpecificImplementedParamType> </file> <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php"> @@ -944,26 +915,26 @@ </file> <file src="apps/files_sharing/lib/MountProvider.php"> <RedundantFunctionCall> - <code>array_values</code> + <code><![CDATA[array_values]]></code> </RedundantFunctionCall> </file> <file src="apps/files_sharing/lib/ShareBackend/File.php"> <InvalidArgument> - <code>$itemSource</code> - <code>$itemSource</code> + <code><![CDATA[$itemSource]]></code> + <code><![CDATA[$itemSource]]></code> </InvalidArgument> <MoreSpecificImplementedParamType> - <code>$shareWith</code> + <code><![CDATA[$shareWith]]></code> </MoreSpecificImplementedParamType> </file> <file src="apps/files_sharing/lib/ShareBackend/Folder.php"> <UndefinedInterfaceMethod> - <code>fetchRow</code> + <code><![CDATA[fetchRow]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/files_sharing/lib/SharedMount.php"> <InvalidReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="apps/files_sharing/lib/SharedStorage.php"> @@ -971,10 +942,10 @@ <code><![CDATA[$this->sourceRootInfo]]></code> </FalsableReturnStatement> <InvalidNullableReturnType> - <code>ICacheEntry</code> + <code><![CDATA[ICacheEntry]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>new FailedCache()</code> + <code><![CDATA[new FailedCache()]]></code> </InvalidReturnStatement> <NullableReturnStatement> <code><![CDATA[$this->sourceRootInfo]]></code> @@ -982,7 +953,7 @@ </file> <file src="apps/files_sharing/lib/Updater.php"> <UndefinedMethod> - <code>moveMount</code> + <code><![CDATA[moveMount]]></code> </UndefinedMethod> </file> <file src="apps/files_sharing/templates/public.php"> @@ -993,7 +964,7 @@ </file> <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php"> <InvalidNullableReturnType> - <code>int</code> + <code><![CDATA[int]]></code> </InvalidNullableReturnType> <NullableReturnStatement> <code><![CDATA[$this->data->getId()]]></code> @@ -1001,66 +972,66 @@ </file> <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php"> <InvalidReturnStatement> - <code>$entry</code> + <code><![CDATA[$entry]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>ITrash</code> + <code><![CDATA[ITrash]]></code> </InvalidReturnType> </file> <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php"> <InvalidNullableReturnType> - <code>getChild</code> + <code><![CDATA[getChild]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/files_trashbin/lib/Sabre/RootCollection.php"> <MismatchingDocblockReturnType> - <code>INode</code> + <code><![CDATA[INode]]></code> </MismatchingDocblockReturnType> </file> <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php"> <InvalidReturnStatement> - <code>$entry</code> + <code><![CDATA[$entry]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>ITrash</code> + <code><![CDATA[ITrash]]></code> </InvalidReturnType> </file> <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php"> <UndefinedInterfaceMethod> - <code>$file</code> + <code><![CDATA[$file]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/files_trashbin/lib/Trashbin.php"> <FalsableReturnStatement> - <code>false</code> + <code><![CDATA[false]]></code> </FalsableReturnStatement> <InvalidArgument> - <code>$timestamp</code> + <code><![CDATA[$timestamp]]></code> </InvalidArgument> <InvalidScalarArgument> - <code>$timestamp</code> + <code><![CDATA[$timestamp]]></code> </InvalidScalarArgument> </file> <file src="apps/files_versions/appinfo/routes.php"> <InvalidScope> - <code>$this</code> - <code>$this</code> + <code><![CDATA[$this]]></code> + <code><![CDATA[$this]]></code> </InvalidScope> </file> <file src="apps/files_versions/lib/Sabre/RestoreFolder.php"> <InvalidNullableReturnType> - <code>getChild</code> + <code><![CDATA[getChild]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="apps/files_versions/lib/Sabre/VersionHome.php"> <InvalidNullableReturnType> - <code>getChild</code> + <code><![CDATA[getChild]]></code> </InvalidNullableReturnType> </file> <file src="apps/files_versions/lib/Storage.php"> @@ -1080,23 +1051,23 @@ </file> <file src="apps/provisioning_api/lib/Controller/UsersController.php"> <TypeDoesNotContainNull> - <code>$groupid === null</code> - <code>$groupid === null</code> + <code><![CDATA[$groupid === null]]></code> + <code><![CDATA[$groupid === null]]></code> </TypeDoesNotContainNull> </file> <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php"> <InvalidReturnType> - <code>Response</code> + <code><![CDATA[Response]]></code> </InvalidReturnType> </file> <file src="apps/settings/lib/AppInfo/Application.php"> <UndefinedInterfaceMethod> - <code>getSettingsManager</code> + <code><![CDATA[getSettingsManager]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Controller/AppSettingsController.php"> <UndefinedInterfaceMethod> - <code>ignoreNextcloudRequirementForApp</code> + <code><![CDATA[ignoreNextcloudRequirementForApp]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Hooks.php"> @@ -1106,12 +1077,12 @@ </file> <file src="apps/settings/lib/Settings/Admin/Security.php"> <UndefinedInterfaceMethod> - <code>isReady</code> + <code><![CDATA[isReady]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Settings/Admin/Sharing.php"> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="apps/sharebymail/lib/ShareByMailProvider.php"> @@ -1131,26 +1102,26 @@ <code><![CDATA[array_values($color->getRgb())]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>array{0: int, 1: int, 2: int}</code> + <code><![CDATA[array{0: int, 1: int, 2: int}]]></code> </InvalidReturnType> </file> <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php"> <InvalidScalarArgument> - <code>$ln + 1</code> + <code><![CDATA[$ln + 1]]></code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/appinfo/routes.php"> <InvalidScope> - <code>$this</code> + <code><![CDATA[$this]]></code> </InvalidScope> </file> <file src="apps/user_ldap/lib/Access.php"> <InvalidReturnStatement> - <code>$uuid</code> - <code>$values</code> + <code><![CDATA[$uuid]]></code> + <code><![CDATA[$values]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string[]</code> + <code><![CDATA[string[]]]></code> </InvalidReturnType> <RedundantCast> <code><![CDATA[(int)$e->getCode()]]></code> @@ -1158,43 +1129,43 @@ </file> <file src="apps/user_ldap/lib/Connection.php"> <NoValue> - <code>$subj</code> + <code><![CDATA[$subj]]></code> </NoValue> <ParadoxicalCondition> - <code>default: + <code><![CDATA[default: $subj = $key; - break;</code> + break;]]></code> </ParadoxicalCondition> </file> <file src="apps/user_ldap/lib/Group_LDAP.php"> <InvalidScalarArgument> - <code>$groupID</code> + <code><![CDATA[$groupID]]></code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/Group_Proxy.php"> <ParamNameMismatch> - <code>$gid</code> + <code><![CDATA[$gid]]></code> </ParamNameMismatch> </file> <file src="apps/user_ldap/lib/Jobs/Sync.php"> <InvalidOperand> - <code>$i</code> + <code><![CDATA[$i]]></code> </InvalidOperand> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php"> <RedundantCondition> - <code>isset($qb)</code> + <code><![CDATA[isset($qb)]]></code> </RedundantCondition> <TypeDoesNotContainNull> - <code>isset($qb)</code> + <code><![CDATA[isset($qb)]]></code> </TypeDoesNotContainNull> </file> <file src="apps/user_ldap/lib/User/Manager.php"> <InvalidDocblock> - <code>public function setLdapAccess(Access $access) {</code> + <code><![CDATA[public function setLdapAccess(Access $access) {]]></code> </InvalidDocblock> </file> <file src="apps/user_ldap/lib/User/User.php"> @@ -1205,7 +1176,7 @@ <code><![CDATA[$this->refreshedFeatures]]></code> </InvalidPropertyAssignmentValue> <InvalidReturnType> - <code>null</code> + <code><![CDATA[null]]></code> </InvalidReturnType> <RedundantCondition> <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code> @@ -1213,38 +1184,38 @@ </file> <file src="apps/user_ldap/lib/User_LDAP.php"> <ImplementedReturnTypeMismatch> - <code>string|false</code> + <code><![CDATA[string|false]]></code> </ImplementedReturnTypeMismatch> <MoreSpecificImplementedParamType> - <code>$limit</code> - <code>$offset</code> + <code><![CDATA[$limit]]></code> + <code><![CDATA[$offset]]></code> </MoreSpecificImplementedParamType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <RedundantCondition> <code><![CDATA[$displayName && (count($displayName) > 0)]]></code> - <code>is_string($dn)</code> + <code><![CDATA[is_string($dn)]]></code> </RedundantCondition> </file> <file src="apps/user_ldap/lib/User_Proxy.php"> <ParamNameMismatch> - <code>$uid</code> + <code><![CDATA[$uid]]></code> </ParamNameMismatch> </file> <file src="apps/user_ldap/lib/Wizard.php"> <InvalidArrayOffset> - <code>$possibleAttrs[$i]</code> + <code><![CDATA[$possibleAttrs[$i]]]></code> </InvalidArrayOffset> </file> <file src="apps/user_status/lib/AppInfo/Application.php"> <UndefinedInterfaceMethod> - <code>registerProvider</code> + <code><![CDATA[registerProvider]]></code> </UndefinedInterfaceMethod> </file> <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php"> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="apps/workflowengine/lib/Check/FileSize.php"> @@ -1252,13 +1223,13 @@ <code><![CDATA[$this->size]]></code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue> - <code>$size</code> + <code><![CDATA[$size]]></code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement> <code><![CDATA[$this->size]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="apps/workflowengine/lib/Check/FileSystemTags.php"> @@ -1268,16 +1239,16 @@ </file> <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php"> <InvalidArgument> - <code>$decodedValue[1]</code> - <code>$decodedValue[1]</code> - <code>$decodedValue[1]</code> - <code>$decodedValue[1]</code> + <code><![CDATA[$decodedValue[1]]]></code> + <code><![CDATA[$decodedValue[1]]]></code> + <code><![CDATA[$decodedValue[1]]]></code> + <code><![CDATA[$decodedValue[1]]]></code> </InvalidArgument> </file> <file src="apps/workflowengine/lib/Check/RequestTime.php"> <InvalidScalarArgument> - <code>$hour1</code> - <code>$minute1</code> + <code><![CDATA[$hour1]]></code> + <code><![CDATA[$minute1]]></code> </InvalidScalarArgument> </file> <file src="apps/workflowengine/lib/Check/TFileCheck.php"> @@ -1287,56 +1258,46 @@ </file> <file src="apps/workflowengine/lib/Entity/File.php"> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="apps/workflowengine/lib/Manager.php"> <InvalidArgument> - <code>$missingCheck</code> + <code><![CDATA[$missingCheck]]></code> </InvalidArgument> <InvalidOperand> - <code>$result</code> + <code><![CDATA[$result]]></code> </InvalidOperand> <InvalidReturnStatement> - <code>$result</code> + <code><![CDATA[$result]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="apps/workflowengine/lib/Service/RuleMatcher.php"> <UndefinedInterfaceMethod> - <code>getAllConfiguredScopesForOperation</code> - <code>getChecks</code> - <code>getOperations</code> - <code>getOperations</code> - <code>isUserScopeEnabled</code> + <code><![CDATA[getAllConfiguredScopesForOperation]]></code> + <code><![CDATA[getChecks]]></code> + <code><![CDATA[getOperations]]></code> + <code><![CDATA[getOperations]]></code> + <code><![CDATA[isUserScopeEnabled]]></code> </UndefinedInterfaceMethod> </file> <file src="core/BackgroundJobs/CheckForUserCertificates.php"> <ParamNameMismatch> - <code>$arguments</code> + <code><![CDATA[$arguments]]></code> </ParamNameMismatch> </file> - <file src="core/Command/App/Install.php"> - <TypeDoesNotContainType> - <code>$result === false</code> - </TypeDoesNotContainType> - </file> <file src="core/Command/App/ListApps.php"> <LessSpecificImplementedReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </LessSpecificImplementedReturnType> </file> - <file src="core/Command/App/Update.php"> - <RedundantCondition> - <code>$result === true</code> - </RedundantCondition> - </file> <file src="core/Command/Config/Import.php"> <InvalidScalarArgument> - <code>0</code> - <code>1</code> + <code><![CDATA[0]]></code> + <code><![CDATA[1]]></code> </InvalidScalarArgument> </file> <file src="core/Command/Config/ListConfigs.php"> @@ -1344,31 +1305,31 @@ <code><![CDATA[$this->appConfig->getValues($app, false)]]></code> </FalsableReturnStatement> <TooManyArguments> - <code>getFilteredValues</code> + <code><![CDATA[getFilteredValues]]></code> </TooManyArguments> </file> <file src="core/Command/Db/ConvertType.php"> <InvalidScalarArgument> - <code>0</code> - <code>1</code> + <code><![CDATA[0]]></code> + <code><![CDATA[1]]></code> </InvalidScalarArgument> </file> <file src="core/Command/Encryption/Enable.php"> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="core/Command/Log/File.php"> <InvalidReturnStatement> - <code>[0]</code> + <code><![CDATA[[0]]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string[]</code> + <code><![CDATA[string[]]]></code> </InvalidReturnType> </file> <file src="core/Command/Log/Manage.php"> <InvalidArgument> - <code>$levelNum</code> + <code><![CDATA[$levelNum]]></code> </InvalidArgument> </file> <file src="core/Command/Maintenance/DataFingerprint.php"> @@ -1378,39 +1339,29 @@ </file> <file src="core/Command/Maintenance/Mimetype/UpdateDB.php"> <UndefinedInterfaceMethod> - <code>getAllMappings</code> - <code>updateFilecache</code> + <code><![CDATA[getAllMappings]]></code> + <code><![CDATA[updateFilecache]]></code> </UndefinedInterfaceMethod> </file> - <file src="core/Command/Maintenance/RepairShareOwnership.php"> - <LessSpecificReturnStatement> - <code>$found</code> - <code>$found</code> - </LessSpecificReturnStatement> - <MoreSpecificReturnType> - <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code> - <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code> - </MoreSpecificReturnType> - </file> <file src="core/Command/Preview/Repair.php"> <UndefinedInterfaceMethod> - <code>section</code> - <code>section</code> + <code><![CDATA[section]]></code> + <code><![CDATA[section]]></code> </UndefinedInterfaceMethod> </file> <file src="core/Command/Preview/ResetRenderedTexts.php"> <InvalidReturnStatement> - <code>[]</code> + <code><![CDATA[[]]]></code> </InvalidReturnStatement> </file> <file src="core/Controller/ClientFlowLoginV2Controller.php"> <TypeDoesNotContainType> - <code>!is_string($stateToken)</code> + <code><![CDATA[!is_string($stateToken)]]></code> </TypeDoesNotContainType> </file> <file src="core/Controller/CollaborationResourcesController.php"> <UndefinedInterfaceMethod> - <code>searchCollections</code> + <code><![CDATA[searchCollections]]></code> </UndefinedInterfaceMethod> </file> <file src="core/Controller/LostController.php"> @@ -1420,7 +1371,7 @@ </file> <file src="core/Controller/UnifiedSearchController.php"> <UndefinedInterfaceMethod> - <code>findMatchingRoute</code> + <code><![CDATA[findMatchingRoute]]></code> </UndefinedInterfaceMethod> </file> <file src="core/Middleware/TwoFactorMiddleware.php"> @@ -1430,13 +1381,13 @@ </file> <file src="core/routes.php"> <InvalidScope> - <code>$this</code> + <code><![CDATA[$this]]></code> <code><![CDATA[$this->create('core_ajax_update', '/core/ajax/update.php')]]></code> </InvalidScope> </file> <file src="core/templates/layout.public.php"> <UndefinedInterfaceMethod> - <code>getIcon</code> + <code><![CDATA[getIcon]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/autoloader.php"> @@ -1446,7 +1397,7 @@ </file> <file src="lib/base.php"> <InvalidArgument> - <code>$restrictions</code> + <code><![CDATA[$restrictions]]></code> </InvalidArgument> </file> <file src="lib/private/Activity/Manager.php"> @@ -1459,46 +1410,46 @@ <code><![CDATA[$this->settings]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>ActivitySettings[]</code> + <code><![CDATA[ActivitySettings[]]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/AllConfig.php"> <MoreSpecificImplementedParamType> - <code>$key</code> + <code><![CDATA[$key]]></code> </MoreSpecificImplementedParamType> <TypeDoesNotContainType> - <code>!is_array($userIds)</code> + <code><![CDATA[!is_array($userIds)]]></code> </TypeDoesNotContainType> </file> <file src="lib/private/App/AppManager.php"> <LessSpecificImplementedReturnType> - <code>array</code> - <code>array</code> + <code><![CDATA[array]]></code> + <code><![CDATA[array]]></code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/App/AppStore/Fetcher/Fetcher.php"> <TooManyArguments> - <code>fetch</code> + <code><![CDATA[fetch]]></code> </TooManyArguments> </file> <file src="lib/private/App/DependencyAnalyzer.php"> <InvalidNullableReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>version_compare($first, $second, $operator)</code> + <code><![CDATA[version_compare($first, $second, $operator)]]></code> </NullableReturnStatement> </file> <file src="lib/private/App/InfoParser.php"> <InvalidArrayOffset> - <code>$array[$element][]</code> - <code>$array[$element][]</code> + <code><![CDATA[$array[$element][]]]></code> + <code><![CDATA[$array[$element][]]]></code> </InvalidArrayOffset> <InvalidReturnStatement> - <code>(string)$xml</code> + <code><![CDATA[(string)$xml]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidReturnType> </file> <file src="lib/private/AppConfig.php"> @@ -1513,21 +1464,21 @@ </file> <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php"> <UndefinedMethod> - <code>getName</code> + <code><![CDATA[getName]]></code> </UndefinedMethod> </file> <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php"> <ImplementedReturnTypeMismatch> - <code>boolean|null</code> + <code><![CDATA[boolean|null]]></code> </ImplementedReturnTypeMismatch> <InvalidReturnStatement> <code><![CDATA[$this->server]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>\OCP\IServerContainer</code> + <code><![CDATA[\OCP\IServerContainer]]></code> </InvalidReturnType> <UndefinedInterfaceMethod> - <code>getAppDataDir</code> + <code><![CDATA[getAppDataDir]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/AppFramework/Http/Dispatcher.php"> @@ -1535,45 +1486,41 @@ <code><![CDATA[$this->request->method]]></code> </NoInterfaceProperties> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/AppFramework/Http/Output.php"> <InvalidReturnStatement> - <code>@readfile($path)</code> - <code>http_response_code()</code> + <code><![CDATA[@readfile($path)]]></code> + <code><![CDATA[http_response_code()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> - <code>int</code> + <code><![CDATA[bool]]></code> + <code><![CDATA[int]]></code> </InvalidReturnType> </file> <file src="lib/private/AppFramework/Http/Request.php"> <NullableReturnStatement> - <code>$name</code> - <code>$remoteAddress</code> <code><![CDATA[$this->getOverwriteHost()]]></code> - <code><![CDATA[$this->method]]></code> - <code>$uri</code> <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code> <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code> <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code> </NullableReturnStatement> <RedundantCondition> - <code>\is_array($params)</code> + <code><![CDATA[\is_array($params)]]></code> </RedundantCondition> <UndefinedFunction> - <code>\Sabre\HTTP\decodePath($pathInfo)</code> + <code><![CDATA[\Sabre\HTTP\decodePath($pathInfo)]]></code> </UndefinedFunction> </file> <file src="lib/private/AppFramework/Logger.php"> <InvalidReturnType> - <code>log</code> + <code><![CDATA[log]]></code> </InvalidReturnType> </file> <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php"> <InternalMethod> - <code>setOCSVersion</code> + <code><![CDATA[setOCSVersion]]></code> </InternalMethod> </file> <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php"> @@ -1587,7 +1534,7 @@ <code><![CDATA[$this->request->server]]></code> </NoInterfaceProperties> <UndefinedClass> - <code>\OCA\Talk\Controller\PageController</code> + <code><![CDATA[\OCA\Talk\Controller\PageController]]></code> </UndefinedClass> </file> <file src="lib/private/AppFramework/Routing/RouteConfig.php"> @@ -1597,7 +1544,7 @@ </file> <file src="lib/private/AppFramework/Services/AppConfig.php"> <MoreSpecificImplementedParamType> - <code>$default</code> + <code><![CDATA[$default]]></code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/AppFramework/Utility/SimpleContainer.php"> @@ -1643,10 +1590,10 @@ }, $constructor->getParameters()))]]></code> </LessSpecificReturnStatement> <MissingTemplateParam> - <code>ArrayAccess</code> + <code><![CDATA[ArrayAccess]]></code> </MissingTemplateParam> <MoreSpecificReturnType> - <code>\stdClass</code> + <code><![CDATA[\stdClass]]></code> </MoreSpecificReturnType> <RedundantCast> <code><![CDATA[(int) $e->getCode()]]></code> @@ -1659,27 +1606,27 @@ </file> <file src="lib/private/Authentication/LoginCredentials/Store.php"> <RedundantCondition> - <code>$trySession</code> + <code><![CDATA[$trySession]]></code> </RedundantCondition> </file> <file src="lib/private/Authentication/Token/PublicKeyToken.php"> <UndefinedMagicMethod> - <code>getExpires</code> - <code>getLastCheck</code> - <code>getLoginName</code> - <code>getName</code> - <code>getPassword</code> - <code>getRemember</code> - <code>getScope</code> - <code>setExpires</code> - <code>setLastCheck</code> - <code>setName</code> - <code>setPassword</code> - <code>setPasswordInvalid</code> - <code>setScope</code> - <code>setScope</code> - <code>setToken</code> - <code>setType</code> + <code><![CDATA[getExpires]]></code> + <code><![CDATA[getLastCheck]]></code> + <code><![CDATA[getLoginName]]></code> + <code><![CDATA[getName]]></code> + <code><![CDATA[getPassword]]></code> + <code><![CDATA[getRemember]]></code> + <code><![CDATA[getScope]]></code> + <code><![CDATA[setExpires]]></code> + <code><![CDATA[setLastCheck]]></code> + <code><![CDATA[setName]]></code> + <code><![CDATA[setPassword]]></code> + <code><![CDATA[setPasswordInvalid]]></code> + <code><![CDATA[setScope]]></code> + <code><![CDATA[setScope]]></code> + <code><![CDATA[setToken]]></code> + <code><![CDATA[setType]]></code> </UndefinedMagicMethod> </file> <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php"> @@ -1688,13 +1635,13 @@ </InvalidArgument> <InvalidPropertyAssignmentValue> <code><![CDATA[$this->providers]]></code> - <code>[]</code> + <code><![CDATA[[]]]></code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement> <code><![CDATA[$this->providers]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>IProvider[]</code> + <code><![CDATA[IProvider[]]]></code> </InvalidReturnType> <UndefinedInterfaceMethod> <code><![CDATA[$this->providers]]></code> @@ -1702,13 +1649,13 @@ </file> <file src="lib/private/Cache/CappedMemoryCache.php"> <MissingTemplateParam> - <code>\ArrayAccess</code> + <code><![CDATA[\ArrayAccess]]></code> </MissingTemplateParam> </file> <file src="lib/private/Cache/File.php"> <LessSpecificImplementedReturnType> - <code>bool|mixed</code> - <code>bool|mixed</code> + <code><![CDATA[bool|mixed]]></code> + <code><![CDATA[bool|mixed]]></code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/Calendar/Manager.php"> @@ -1730,7 +1677,7 @@ )]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>ICreateFromString[]</code> + <code><![CDATA[ICreateFromString[]]]></code> </MoreSpecificReturnType> <NamedArgumentNotAllowed> <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) { @@ -1750,17 +1697,17 @@ </file> <file src="lib/private/Command/CallableJob.php"> <ParamNameMismatch> - <code>$serializedCallable</code> + <code><![CDATA[$serializedCallable]]></code> </ParamNameMismatch> </file> <file src="lib/private/Command/ClosureJob.php"> <InvalidArgument> - <code>[LaravelClosure::class]</code> + <code><![CDATA[[LaravelClosure::class]]]></code> </InvalidArgument> </file> <file src="lib/private/Comments/Manager.php"> <RedundantCast> - <code>(string)$id</code> + <code><![CDATA[(string)$id]]></code> </RedundantCast> </file> <file src="lib/private/Config.php"> @@ -1769,8 +1716,8 @@ <code><![CDATA[$this->set($key, $value)]]></code> </InvalidOperand> <UndefinedVariable> - <code>$CONFIG</code> - <code>$CONFIG</code> + <code><![CDATA[$CONFIG]]></code> + <code><![CDATA[$CONFIG]]></code> </UndefinedVariable> </file> <file src="lib/private/Console/Application.php"> @@ -1780,12 +1727,12 @@ </file> <file src="lib/private/ContactsManager.php"> <InvalidArgument> - <code>$searchOptions</code> + <code><![CDATA[$searchOptions]]></code> </InvalidArgument> </file> <file src="lib/private/DB/AdapterMySQL.php"> <InternalMethod> - <code>getParams</code> + <code><![CDATA[getParams]]></code> </InternalMethod> <InvalidArrayOffset> <code><![CDATA[$params['collation']]]></code> @@ -1793,10 +1740,10 @@ </file> <file src="lib/private/DB/Connection.php"> <InternalMethod> - <code>getParams</code> + <code><![CDATA[getParams]]></code> </InternalMethod> <InvalidArgument> - <code>$params</code> + <code><![CDATA[$params]]></code> </InvalidArgument> <InvalidArrayOffset> <code><![CDATA[$params['adapter']]]></code> @@ -1808,15 +1755,15 @@ <code><![CDATA[is_int($original->getCode())]]></code> </RedundantCondition> <TypeDoesNotContainType> - <code>0</code> + <code><![CDATA[0]]></code> </TypeDoesNotContainType> </file> <file src="lib/private/DB/MigrationService.php"> <LessSpecificReturnStatement> - <code>$s</code> + <code><![CDATA[$s]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>IMigrationStep</code> + <code><![CDATA[IMigrationStep]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php"> @@ -1824,13 +1771,13 @@ <code><![CDATA[$this->functionBuilder->lower($x)]]></code> </ImplicitToStringCast> <InvalidArgument> - <code>$y</code> - <code>$y</code> + <code><![CDATA[$y]]></code> + <code><![CDATA[$y]]></code> </InvalidArgument> </file> <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php"> <InternalMethod> - <code>getParams</code> + <code><![CDATA[getParams]]></code> </InternalMethod> <InvalidArrayOffset> <code><![CDATA[$params['collation']]]></code> @@ -1838,22 +1785,21 @@ </file> <file src="lib/private/DB/QueryBuilder/QueryBuilder.php"> <InvalidNullableReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>$alias</code> + <code><![CDATA[$alias]]></code> </NullableReturnStatement> <ParamNameMismatch> - <code>$groupBys</code> - <code>$selects</code> + <code><![CDATA[$selects]]></code> </ParamNameMismatch> </file> <file src="lib/private/DB/QueryBuilder/QuoteHelper.php"> <InvalidNullableReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>$string</code> + <code><![CDATA[$string]]></code> </NullableReturnStatement> </file> <file src="lib/private/DateTimeFormatter.php"> @@ -1868,25 +1814,25 @@ ])]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="lib/private/DateTimeZone.php"> <InvalidScalarArgument> - <code>$timestamp</code> + <code><![CDATA[$timestamp]]></code> </InvalidScalarArgument> </file> <file src="lib/private/Diagnostics/Query.php"> <ImplementedReturnTypeMismatch> - <code>float</code> + <code><![CDATA[float]]></code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Diagnostics/QueryLogger.php"> <InvalidArgument> - <code>microtime(true)</code> + <code><![CDATA[microtime(true)]]></code> </InvalidArgument> <InvalidReturnType> - <code>stopQuery</code> + <code><![CDATA[stopQuery]]></code> </InvalidReturnType> </file> <file src="lib/private/DirectEditing/Manager.php"> @@ -1894,14 +1840,14 @@ <code><![CDATA[$query->execute()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>TemplateResponse</code> - <code>int</code> + <code><![CDATA[TemplateResponse]]></code> + <code><![CDATA[int]]></code> </InvalidReturnType> <UndefinedMethod> - <code>$template</code> - <code>$template</code> - <code>$template</code> - <code>$template</code> + <code><![CDATA[$template]]></code> + <code><![CDATA[$template]]></code> + <code><![CDATA[$template]]></code> + <code><![CDATA[$template]]></code> </UndefinedMethod> </file> <file src="lib/private/DirectEditing/Token.php"> @@ -1909,35 +1855,27 @@ <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code> </LessSpecificReturnStatement> <UndefinedMethod> - <code>getShareForToken</code> + <code><![CDATA[getShareForToken]]></code> </UndefinedMethod> </file> - <file src="lib/private/Encryption/File.php"> - <LessSpecificReturnStatement> - <code><![CDATA[['users' => $uniqueUserIds, 'public' => $public]]]></code> - </LessSpecificReturnStatement> - <MoreSpecificReturnType> - <code>array{users: string[], public: bool}</code> - </MoreSpecificReturnType> - </file> <file src="lib/private/Encryption/Keys/Storage.php"> <InvalidNullableReturnType> - <code>deleteUserKey</code> + <code><![CDATA[deleteUserKey]]></code> </InvalidNullableReturnType> <NullArgument> - <code>null</code> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/Encryption/Manager.php"> <ImplementedReturnTypeMismatch> - <code>bool</code> + <code><![CDATA[bool]]></code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Federation/CloudFederationProviderManager.php"> <ParamNameMismatch> - <code>$providerId</code> + <code><![CDATA[$providerId]]></code> </ParamNameMismatch> </file> <file src="lib/private/Files/AppData/AppData.php"> @@ -1945,61 +1883,61 @@ <code><![CDATA[$this->folder]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Folder</code> + <code><![CDATA[Folder]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Files/Cache/Cache.php"> <InvalidArgument> - <code>$parentData</code> + <code><![CDATA[$parentData]]></code> </InvalidArgument> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <InvalidScalarArgument> - <code>$path</code> - <code>\OC_Util::normalizeUnicode($path)</code> + <code><![CDATA[$path]]></code> + <code><![CDATA[\OC_Util::normalizeUnicode($path)]]></code> </InvalidScalarArgument> <NullableReturnStatement> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <ParamNameMismatch> - <code>$searchQuery</code> + <code><![CDATA[$searchQuery]]></code> </ParamNameMismatch> </file> <file src="lib/private/Files/Cache/FailedCache.php"> <InvalidReturnStatement> - <code>[]</code> + <code><![CDATA[[]]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>getIncomplete</code> - <code>insert</code> - <code>put</code> + <code><![CDATA[getIncomplete]]></code> + <code><![CDATA[insert]]></code> + <code><![CDATA[put]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Cache/HomeCache.php"> <FalsableReturnStatement> - <code>$data</code> + <code><![CDATA[$data]]></code> </FalsableReturnStatement> <MoreSpecificImplementedParamType> - <code>$file</code> - <code>$file</code> + <code><![CDATA[$file]]></code> + <code><![CDATA[$file]]></code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Files/Cache/Scanner.php"> <InvalidArgument> - <code>self::SCAN_RECURSIVE_INCOMPLETE</code> + <code><![CDATA[self::SCAN_RECURSIVE_INCOMPLETE]]></code> </InvalidArgument> <InvalidReturnStatement> - <code>$existingChildren</code> + <code><![CDATA[$existingChildren]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>array[]</code> + <code><![CDATA[array[]]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Cache/Storage.php"> <InvalidNullableReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidNullableReturnType> <NullableReturnStatement> <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code> @@ -2012,16 +1950,16 @@ </file> <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php"> <LessSpecificImplementedReturnType> - <code>array</code> - <code>array</code> + <code><![CDATA[array]]></code> + <code><![CDATA[array]]></code> </LessSpecificImplementedReturnType> <ParamNameMismatch> - <code>$searchQuery</code> + <code><![CDATA[$searchQuery]]></code> </ParamNameMismatch> </file> <file src="lib/private/Files/Config/MountProviderCollection.php"> <InvalidOperand> - <code>$user</code> + <code><![CDATA[$user]]></code> </InvalidOperand> <RedundantCondition> <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code> @@ -2032,17 +1970,17 @@ </file> <file src="lib/private/Files/Config/UserMountCache.php"> <InvalidReturnType> - <code>remoteStorageMounts</code> - <code>removeUserStorageMount</code> + <code><![CDATA[remoteStorageMounts]]></code> + <code><![CDATA[removeUserStorageMount]]></code> </InvalidReturnType> <LessSpecificImplementedReturnType> - <code>array</code> + <code><![CDATA[array]]></code> </LessSpecificImplementedReturnType> <LessSpecificReturnStatement> <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>array{int, string, int}</code> + <code><![CDATA[array{int, string, int}]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Files/Filesystem.php"> @@ -2052,25 +1990,25 @@ <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Mount\MountPoint[]</code> - <code>Mount\MountPoint[]</code> - <code>\OC\Files\Storage\Storage|null</code> + <code><![CDATA[Mount\MountPoint[]]]></code> + <code><![CDATA[Mount\MountPoint[]]]></code> + <code><![CDATA[\OC\Files\Storage\Storage|null]]></code> </MoreSpecificReturnType> <TooManyArguments> - <code>addStorageWrapper</code> + <code><![CDATA[addStorageWrapper]]></code> </TooManyArguments> </file> <file src="lib/private/Files/Mount/MountPoint.php"> <UndefinedInterfaceMethod> - <code>wrap</code> + <code><![CDATA[wrap]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php"> <InvalidNullableReturnType> - <code>\OCP\Files\Mount\IMountPoint</code> + <code><![CDATA[\OCP\Files\Mount\IMountPoint]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="lib/private/Files/Node/File.php"> @@ -2078,7 +2016,7 @@ <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Node/Folder.php"> @@ -2089,28 +2027,28 @@ }, $files)]]></code> </LessSpecificReturnStatement> <MoreSpecificImplementedParamType> - <code>$node</code> + <code><![CDATA[$node]]></code> </MoreSpecificImplementedParamType> <MoreSpecificReturnType> - <code>\OC\Files\Node\Node</code> - <code>\OC\Files\Node\Node[]</code> + <code><![CDATA[\OC\Files\Node\Node]]></code> + <code><![CDATA[\OC\Files\Node\Node[]]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Files/Node/HookConnector.php"> <UndefinedInterfaceMethod> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Node/LazyFolder.php"> @@ -2120,30 +2058,30 @@ </file> <file src="lib/private/Files/Node/LazyUserFolder.php"> <LessSpecificReturnStatement> - <code>$node</code> + <code><![CDATA[$node]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>Folder</code> + <code><![CDATA[Folder]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Files/Node/Node.php"> <InvalidNullableReturnType> - <code>FileInfo</code> + <code><![CDATA[FileInfo]]></code> </InvalidNullableReturnType> <InvalidReturnType> - <code>getChecksum</code> + <code><![CDATA[getChecksum]]></code> </InvalidReturnType> <LessSpecificReturnStatement> <code><![CDATA[$this->parent]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>INode|IRootFolder</code> + <code><![CDATA[INode|IRootFolder]]></code> </MoreSpecificReturnType> <NullableReturnStatement> <code><![CDATA[$this->fileInfo]]></code> </NullableReturnStatement> <ParamNameMismatch> - <code>$type</code> + <code><![CDATA[$type]]></code> </ParamNameMismatch> <UndefinedInterfaceMethod> <code><![CDATA[$this->fileInfo]]></code> @@ -2152,7 +2090,7 @@ </file> <file src="lib/private/Files/Node/Root.php"> <LessSpecificReturnStatement> - <code>$folders</code> + <code><![CDATA[$folders]]></code> <code><![CDATA[$this->createNode($fullPath, $fileInfo, false)]]></code> <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code> <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code> @@ -2160,63 +2098,63 @@ <code><![CDATA[$this->user]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>MountPoint[]</code> - <code>Node</code> - <code>\OC\Files\Mount\MountPoint[]</code> - <code>\OC\Files\Mount\MountPoint[]</code> - <code>\OC\User\User</code> + <code><![CDATA[MountPoint[]]]></code> + <code><![CDATA[Node]]></code> + <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code> + <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code> + <code><![CDATA[\OC\User\User]]></code> </MoreSpecificReturnType> <NullableReturnStatement> <code><![CDATA[$this->user]]></code> </NullableReturnStatement> <UndefinedMethod> - <code>remove</code> + <code><![CDATA[remove]]></code> </UndefinedMethod> </file> <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php"> <InvalidScalarArgument> - <code>$source</code> + <code><![CDATA[$source]]></code> </InvalidScalarArgument> </file> <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php"> <InternalClass> - <code>ClientResolver::_default_signature_provider()</code> - <code>ClientResolver::_default_signature_provider()</code> + <code><![CDATA[ClientResolver::_default_signature_provider()]]></code> + <code><![CDATA[ClientResolver::_default_signature_provider()]]></code> </InternalClass> <InternalMethod> - <code>ClientResolver::_default_signature_provider()</code> + <code><![CDATA[ClientResolver::_default_signature_provider()]]></code> </InternalMethod> <UndefinedFunction> - <code>Promise\promise_for( + <code><![CDATA[Promise\promise_for( new Credentials($key, $secret) - )</code> + )]]></code> <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code> </UndefinedFunction> </file> <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php"> <InternalMethod> - <code>upload</code> + <code><![CDATA[upload]]></code> </InternalMethod> <UndefinedFunction> - <code>\Aws\serialize($command)</code> + <code><![CDATA[\Aws\serialize($command)]]></code> </UndefinedFunction> </file> <file src="lib/private/Files/ObjectStore/S3Signature.php"> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/Files/ObjectStore/StorageObjectStore.php"> <InvalidReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Storage/Common.php"> <ImplementedReturnTypeMismatch> - <code>string|false</code> + <code><![CDATA[string|false]]></code> </ImplementedReturnTypeMismatch> <InvalidOperand> - <code>!$permissions</code> + <code><![CDATA[!$permissions]]></code> <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code> </InvalidOperand> <NoInterfaceProperties> @@ -2232,39 +2170,39 @@ </file> <file src="lib/private/Files/Storage/DAV.php"> <InvalidClass> - <code>ArrayCache</code> - <code>ArrayCache</code> + <code><![CDATA[ArrayCache]]></code> + <code><![CDATA[ArrayCache]]></code> </InvalidClass> <InvalidReturnStatement> <code><![CDATA[$response->getBody()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>fopen</code> + <code><![CDATA[fopen]]></code> </InvalidReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/FailedStorage.php"> <InvalidReturnStatement> - <code>new FailedCache()</code> - <code>true</code> + <code><![CDATA[new FailedCache()]]></code> + <code><![CDATA[true]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>getCache</code> - <code>verifyPath</code> + <code><![CDATA[getCache]]></code> + <code><![CDATA[verifyPath]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Storage/Local.php"> <ImplicitToStringCast> - <code>$file</code> + <code><![CDATA[$file]]></code> </ImplicitToStringCast> <TypeDoesNotContainNull> - <code>$space === false || is_null($space)</code> - <code>is_null($space)</code> + <code><![CDATA[$space === false || is_null($space)]]></code> + <code><![CDATA[is_null($space)]]></code> </TypeDoesNotContainNull> <TypeDoesNotContainType> - <code>$stat === false</code> + <code><![CDATA[$stat === false]]></code> </TypeDoesNotContainType> </file> <file src="lib/private/Files/Storage/LocalRootStorage.php"> @@ -2275,9 +2213,9 @@ </file> <file src="lib/private/Files/Storage/Wrapper/Encoding.php"> <InvalidArgument> - <code>\Normalizer::FORM_C</code> - <code>\Normalizer::FORM_C</code> - <code>\Normalizer::FORM_D</code> + <code><![CDATA[\Normalizer::FORM_C]]></code> + <code><![CDATA[\Normalizer::FORM_C]]></code> + <code><![CDATA[\Normalizer::FORM_D]]></code> </InvalidArgument> <UndefinedInterfaceMethod> <code><![CDATA[$this->namesCache]]></code> @@ -2301,21 +2239,21 @@ </file> <file src="lib/private/Files/Storage/Wrapper/Encryption.php"> <InvalidOperand> - <code>$result</code> - <code>$result</code> + <code><![CDATA[$result]]></code> + <code><![CDATA[$result]]></code> <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code> </InvalidOperand> <InvalidReturnStatement> - <code>$newUnencryptedSize</code> - <code>$result</code> + <code><![CDATA[$newUnencryptedSize]]></code> + <code><![CDATA[$result]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> - <code>int</code> + <code><![CDATA[bool]]></code> + <code><![CDATA[int]]></code> </InvalidReturnType> <InvalidScalarArgument> - <code>$lastChunkPos</code> - <code>$size</code> + <code><![CDATA[$lastChunkPos]]></code> + <code><![CDATA[$size]]></code> </InvalidScalarArgument> </file> <file src="lib/private/Files/Storage/Wrapper/Jail.php"> @@ -2323,7 +2261,7 @@ <code><![CDATA[$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Storage/Wrapper/Wrapper.php"> @@ -2331,23 +2269,23 @@ <code><![CDATA[$this->getWrapperStorage()->test()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>true</code> + <code><![CDATA[true]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Stream/SeekableHttpStream.php"> <InvalidReturnType> - <code>stream_close</code> - <code>stream_flush</code> + <code><![CDATA[stream_close]]></code> + <code><![CDATA[stream_flush]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Template/TemplateManager.php"> <RedundantCondition> - <code>!$isDefaultTemplates</code> + <code><![CDATA[!$isDefaultTemplates]]></code> </RedundantCondition> </file> <file src="lib/private/Files/Type/Detection.php"> <ParamNameMismatch> - <code>$mimetype</code> + <code><![CDATA[$mimetype]]></code> </ParamNameMismatch> </file> <file src="lib/private/Files/Type/Loader.php"> @@ -2355,25 +2293,25 @@ <code><![CDATA[$update->execute()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>int</code> + <code><![CDATA[int]]></code> </InvalidReturnType> </file> <file src="lib/private/Files/Utils/Scanner.php"> <LessSpecificReturnStatement> - <code>$mounts</code> + <code><![CDATA[$mounts]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>\OC\Files\Mount\MountPoint[]</code> + <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Files/View.php"> <InvalidScalarArgument> - <code>$mtime</code> + <code><![CDATA[$mtime]]></code> </InvalidScalarArgument> <UndefinedInterfaceMethod> - <code>acquireLock</code> - <code>changeLock</code> - <code>releaseLock</code> + <code><![CDATA[acquireLock]]></code> + <code><![CDATA[changeLock]]></code> + <code><![CDATA[releaseLock]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/FullTextSearch/Model/IndexDocument.php"> @@ -2383,16 +2321,16 @@ </file> <file src="lib/private/Group/Group.php"> <InvalidArgument> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidArgument> <InvalidOperand> - <code>$hide</code> + <code><![CDATA[$hide]]></code> </InvalidOperand> <LessSpecificReturnStatement> - <code>$users</code> + <code><![CDATA[$users]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>\OC\User\User[]</code> + <code><![CDATA[\OC\User\User[]]]></code> </MoreSpecificReturnType> <RedundantCondition> <code><![CDATA[$this->emitter]]></code> @@ -2400,31 +2338,31 @@ <code><![CDATA[$this->emitter]]></code> </RedundantCondition> <UndefinedMethod> - <code>addToGroup</code> - <code>countUsersInGroup</code> - <code>deleteGroup</code> - <code>removeFromGroup</code> + <code><![CDATA[addToGroup]]></code> + <code><![CDATA[countUsersInGroup]]></code> + <code><![CDATA[deleteGroup]]></code> + <code><![CDATA[removeFromGroup]]></code> </UndefinedMethod> </file> <file src="lib/private/Group/Manager.php"> <LessSpecificReturnStatement> - <code>$groups</code> - <code>array_values($groups)</code> - <code>array_values($groups)</code> + <code><![CDATA[$groups]]></code> + <code><![CDATA[array_values($groups)]]></code> + <code><![CDATA[array_values($groups)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>\OC\Group\Group[]</code> - <code>\OC\Group\Group[]</code> + <code><![CDATA[\OC\Group\Group[]]]></code> + <code><![CDATA[\OC\Group\Group[]]]></code> </MoreSpecificReturnType> <UndefinedInterfaceMethod> - <code>createGroup</code> - <code>getGroupDetails</code> - <code>isAdmin</code> + <code><![CDATA[createGroup]]></code> + <code><![CDATA[getGroupDetails]]></code> + <code><![CDATA[isAdmin]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Http/Client/Response.php"> <InvalidNullableReturnType> - <code>string|resource</code> + <code><![CDATA[string|resource]]></code> </InvalidNullableReturnType> <NullableReturnStatement> <code><![CDATA[$this->stream ? @@ -2434,15 +2372,15 @@ </file> <file src="lib/private/Installer.php"> <InvalidArgument> - <code>false</code> - <code>false</code> + <code><![CDATA[false]]></code> + <code><![CDATA[false]]></code> </InvalidArgument> <InvalidArrayOffset> <code><![CDATA[$app['path']]]></code> <code><![CDATA[$app['path']]]></code> </InvalidArrayOffset> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/IntegrityCheck/Checker.php"> @@ -2452,41 +2390,41 @@ <code><![CDATA[$x509->getDN(true)['CN']]]></code> </InvalidArrayAccess> <UndefinedInterfaceMethod> - <code>getOnlyDefaultAliases</code> + <code><![CDATA[getOnlyDefaultAliases]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php"> <MissingTemplateParam> - <code>ExcludeFileByNameFilterIterator</code> + <code><![CDATA[ExcludeFileByNameFilterIterator]]></code> </MissingTemplateParam> </file> <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php"> <MissingTemplateParam> - <code>ExcludeFoldersByPathFilterIterator</code> + <code><![CDATA[ExcludeFoldersByPathFilterIterator]]></code> </MissingTemplateParam> </file> <file src="lib/private/L10N/Factory.php"> <ImplementedReturnTypeMismatch> - <code>null|string</code> + <code><![CDATA[null|string]]></code> </ImplementedReturnTypeMismatch> <LessSpecificImplementedReturnType> - <code>array|mixed</code> + <code><![CDATA[array|mixed]]></code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/LargeFileHelper.php"> <InvalidOperand> - <code>$matches[1]</code> + <code><![CDATA[$matches[1]]]></code> </InvalidOperand> </file> <file src="lib/private/Lockdown/Filesystem/NullCache.php"> <InvalidNullableReturnType> - <code>get</code> + <code><![CDATA[get]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>[]</code> + <code><![CDATA[[]]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>getIncomplete</code> + <code><![CDATA[getIncomplete]]></code> </InvalidReturnType> <NullableReturnStatement> <code><![CDATA[$file !== '' ? null : @@ -2507,41 +2445,41 @@ </file> <file src="lib/private/Lockdown/Filesystem/NullStorage.php"> <InvalidNullableReturnType> - <code>getOwner</code> - <code>getPermissions</code> + <code><![CDATA[getOwner]]></code> + <code><![CDATA[getPermissions]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>new IteratorDirectory([])</code> - <code>new NullCache()</code> + <code><![CDATA[new IteratorDirectory([])]]></code> + <code><![CDATA[new NullCache()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>getCache</code> - <code>opendir</code> + <code><![CDATA[getCache]]></code> + <code><![CDATA[opendir]]></code> </InvalidReturnType> <NullableReturnStatement> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <TooManyArguments> - <code>new IteratorDirectory([])</code> + <code><![CDATA[new IteratorDirectory([])]]></code> </TooManyArguments> </file> <file src="lib/private/Lockdown/LockdownManager.php"> <InvalidFunctionCall> - <code>$callback()</code> + <code><![CDATA[$callback()]]></code> </InvalidFunctionCall> <InvalidPropertyAssignmentValue> - <code>$sessionCallback</code> + <code><![CDATA[$sessionCallback]]></code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Log.php"> <RedundantCondition> - <code>$request</code> + <code><![CDATA[$request]]></code> </RedundantCondition> </file> <file src="lib/private/Log/File.php"> <TypeDoesNotContainNull> - <code>$limit === null</code> + <code><![CDATA[$limit === null]]></code> </TypeDoesNotContainNull> </file> <file src="lib/private/Log/LogDetails.php"> @@ -2561,58 +2499,58 @@ <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool</code> + <code><![CDATA[bool]]></code> </InvalidReturnType> </file> <file src="lib/private/Memcache/Cache.php"> <LessSpecificImplementedReturnType> - <code>mixed</code> - <code>mixed</code> - <code>mixed</code> - <code>mixed</code> + <code><![CDATA[mixed]]></code> + <code><![CDATA[mixed]]></code> + <code><![CDATA[mixed]]></code> + <code><![CDATA[mixed]]></code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/Preview/BackgroundCleanupJob.php"> <InvalidReturnStatement> - <code>[]</code> + <code><![CDATA[[]]]></code> </InvalidReturnStatement> </file> <file src="lib/private/Preview/Generator.php"> <InvalidArgument> - <code>$maxPreviewImage</code> + <code><![CDATA[$maxPreviewImage]]></code> </InvalidArgument> <LessSpecificReturnType> - <code>null|string</code> + <code><![CDATA[null|string]]></code> </LessSpecificReturnType> <MismatchingDocblockParamType> - <code>ISimpleFile</code> + <code><![CDATA[ISimpleFile]]></code> </MismatchingDocblockParamType> <UndefinedInterfaceMethod> - <code>height</code> - <code>height</code> - <code>preciseResizeCopy</code> - <code>resizeCopy</code> - <code>valid</code> - <code>width</code> - <code>width</code> + <code><![CDATA[height]]></code> + <code><![CDATA[height]]></code> + <code><![CDATA[preciseResizeCopy]]></code> + <code><![CDATA[resizeCopy]]></code> + <code><![CDATA[valid]]></code> + <code><![CDATA[width]]></code> + <code><![CDATA[width]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Preview/ProviderV1Adapter.php"> <InvalidReturnStatement> - <code>$thumbnail === false ? null: $thumbnail</code> + <code><![CDATA[$thumbnail === false ? null: $thumbnail]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>?IImage</code> + <code><![CDATA[?IImage]]></code> </InvalidReturnType> </file> <file src="lib/private/RedisFactory.php"> <InvalidArgument> - <code>\RedisCluster::OPT_SLAVE_FAILOVER</code> + <code><![CDATA[\RedisCluster::OPT_SLAVE_FAILOVER]]></code> </InvalidArgument> </file> <file src="lib/private/Remote/Api/OCS.php"> <ImplementedReturnTypeMismatch> - <code>array</code> + <code><![CDATA[array]]></code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Remote/Instance.php"> @@ -2620,25 +2558,25 @@ <code><![CDATA[$request->getBody()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>bool|string</code> + <code><![CDATA[bool|string]]></code> </InvalidReturnType> <InvalidScalarArgument> - <code>$response</code> + <code><![CDATA[$response]]></code> </InvalidScalarArgument> </file> <file src="lib/private/Repair/Owncloud/CleanPreviews.php"> <InvalidArgument> - <code>false</code> + <code><![CDATA[false]]></code> </InvalidArgument> </file> <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php"> <ParamNameMismatch> - <code>$arguments</code> + <code><![CDATA[$arguments]]></code> </ParamNameMismatch> </file> <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php"> <ParamNameMismatch> - <code>$arguments</code> + <code><![CDATA[$arguments]]></code> </ParamNameMismatch> </file> <file src="lib/private/Repair/RemoveLinkShares.php"> @@ -2648,20 +2586,20 @@ </file> <file src="lib/private/Repair/RepairInvalidShares.php"> <ParamNameMismatch> - <code>$out</code> + <code><![CDATA[$out]]></code> </ParamNameMismatch> </file> <file src="lib/private/Repair/RepairMimeTypes.php"> <ParamNameMismatch> - <code>$out</code> + <code><![CDATA[$out]]></code> </ParamNameMismatch> </file> <file src="lib/private/Route/Router.php"> <InvalidClass> - <code>\OC_APP</code> + <code><![CDATA[\OC_APP]]></code> </InvalidClass> <InvalidNullableReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidNullableReturnType> <NullableReturnStatement> <code><![CDATA[$this->collectionName]]></code> @@ -2669,7 +2607,7 @@ </file> <file src="lib/private/Search.php"> <RedundantCondition> - <code>$provider instanceof Provider</code> + <code><![CDATA[$provider instanceof Provider]]></code> </RedundantCondition> </file> <file src="lib/private/Search/Result/File.php"> @@ -2682,7 +2620,7 @@ </file> <file src="lib/private/Security/Bruteforce/Throttler.php"> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php"> @@ -2701,25 +2639,25 @@ <code><![CDATA[$qb->execute()]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>int</code> - <code>int</code> + <code><![CDATA[int]]></code> + <code><![CDATA[int]]></code> </InvalidReturnType> </file> <file src="lib/private/Security/Crypto.php"> <InternalMethod> - <code>decrypt</code> - <code>encrypt</code> - <code>setIV</code> - <code>setIV</code> - <code>setPassword</code> - <code>setPassword</code> + <code><![CDATA[decrypt]]></code> + <code><![CDATA[encrypt]]></code> + <code><![CDATA[setIV]]></code> + <code><![CDATA[setIV]]></code> + <code><![CDATA[setPassword]]></code> + <code><![CDATA[setPassword]]></code> </InternalMethod> </file> <file src="lib/private/Server.php"> <ImplementedReturnTypeMismatch> - <code>\OCP\Calendar\Resource\IManager</code> - <code>\OCP\Calendar\Room\IManager</code> - <code>\OCP\Files\Folder|null</code> + <code><![CDATA[\OCP\Calendar\Resource\IManager]]></code> + <code><![CDATA[\OCP\Calendar\Room\IManager]]></code> + <code><![CDATA[\OCP\Files\Folder|null]]></code> </ImplementedReturnTypeMismatch> <LessSpecificReturnStatement> <code><![CDATA[$this->get(IFile::class)]]></code> @@ -2730,15 +2668,15 @@ <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>\OC\Encryption\File</code> - <code>\OC\Encryption\Manager</code> - <code>\OC\Group\Manager</code> - <code>\OC\NavigationManager</code> - <code>\OC\User\Manager</code> - <code>\OC\User\Session</code> + <code><![CDATA[\OC\Encryption\File]]></code> + <code><![CDATA[\OC\Encryption\Manager]]></code> + <code><![CDATA[\OC\Group\Manager]]></code> + <code><![CDATA[\OC\NavigationManager]]></code> + <code><![CDATA[\OC\User\Manager]]></code> + <code><![CDATA[\OC\User\Session]]></code> </MoreSpecificReturnType> <UndefinedDocblockClass> - <code>\OC\OCSClient</code> + <code><![CDATA[\OC\OCSClient]]></code> </UndefinedDocblockClass> </file> <file src="lib/private/ServerContainer.php"> @@ -2751,12 +2689,12 @@ </file> <file src="lib/private/Session/Internal.php"> <MoreSpecificImplementedParamType> - <code>$value</code> + <code><![CDATA[$value]]></code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Session/Memory.php"> <MoreSpecificImplementedParamType> - <code>$value</code> + <code><![CDATA[$value]]></code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Setup.php"> @@ -2764,7 +2702,7 @@ <code><![CDATA[$type === 'pdo']]></code> </RedundantCondition> <UndefinedVariable> - <code>$vendor</code> + <code><![CDATA[$vendor]]></code> </UndefinedVariable> </file> <file src="lib/private/Setup/AbstractDatabase.php"> @@ -2785,59 +2723,59 @@ <code><![CDATA[(int)$data['id']]]></code> </InvalidArgument> <TooManyArguments> - <code>set</code> + <code><![CDATA[set]]></code> </TooManyArguments> <UndefinedInterfaceMethod> - <code>getParent</code> + <code><![CDATA[getParent]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Share20/Manager.php"> <InvalidArgument> - <code>$id</code> + <code><![CDATA[$id]]></code> </InvalidArgument> <TooManyArguments> - <code>update</code> + <code><![CDATA[update]]></code> </TooManyArguments> <UndefinedClass> - <code>\OCA\Circles\Api\v1\Circles</code> + <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code> </UndefinedClass> <UndefinedInterfaceMethod> - <code>getChildren</code> + <code><![CDATA[getChildren]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Share20/ProviderFactory.php"> <InvalidNullableReturnType> - <code>FederatedShareProvider</code> - <code>ShareByMailProvider</code> + <code><![CDATA[FederatedShareProvider]]></code> + <code><![CDATA[ShareByMailProvider]]></code> </InvalidNullableReturnType> <InvalidReturnStatement> - <code>$provider</code> - <code>$provider</code> + <code><![CDATA[$provider]]></code> + <code><![CDATA[$provider]]></code> <code><![CDATA[$this->shareByCircleProvider]]></code> </InvalidReturnStatement> <InvalidReturnType> - <code>getProviderForType</code> + <code><![CDATA[getProviderForType]]></code> </InvalidReturnType> <NullableReturnStatement> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullableReturnStatement> <ParamNameMismatch> - <code>$shareProviderClass</code> + <code><![CDATA[$shareProviderClass]]></code> </ParamNameMismatch> <UndefinedClass> - <code>\OCA\Circles\ShareByCircleProvider</code> + <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code> </UndefinedClass> <UndefinedDocblockClass> - <code>RoomShareProvider</code> - <code>\OCA\Circles\ShareByCircleProvider</code> - <code>\OCA\Talk\Share\RoomShareProvider</code> - <code>private $roomShareProvider = null;</code> - <code>private $shareByCircleProvider = null;</code> + <code><![CDATA[RoomShareProvider]]></code> + <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code> + <code><![CDATA[\OCA\Talk\Share\RoomShareProvider]]></code> + <code><![CDATA[private $roomShareProvider = null;]]></code> + <code><![CDATA[private $shareByCircleProvider = null;]]></code> </UndefinedDocblockClass> </file> <file src="lib/private/Share20/Share.php"> @@ -2845,107 +2783,107 @@ <code><![CDATA[$this->node]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>getNode</code> + <code><![CDATA[getNode]]></code> </MoreSpecificReturnType> </file> <file src="lib/private/Streamer.php"> <UndefinedInterfaceMethod> - <code>get</code> + <code><![CDATA[get]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/SubAdmin.php"> <UndefinedInterfaceMethod> - <code>listen</code> - <code>listen</code> + <code><![CDATA[listen]]></code> + <code><![CDATA[listen]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Support/Subscription/Registry.php"> <UndefinedInterfaceMethod> - <code>getSupportedApps</code> + <code><![CDATA[getSupportedApps]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/TagManager.php"> <InvalidNullableReturnType> - <code>\OCP\ITags</code> + <code><![CDATA[\OCP\ITags]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="lib/private/Tags.php"> <InvalidScalarArgument> - <code>$from</code> - <code>$names</code> + <code><![CDATA[$from]]></code> + <code><![CDATA[$names]]></code> </InvalidScalarArgument> <MoreSpecificImplementedParamType> - <code>$tag</code> + <code><![CDATA[$tag]]></code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/TempManager.php"> <FalsableReturnStatement> - <code>false</code> - <code>false</code> + <code><![CDATA[false]]></code> + <code><![CDATA[false]]></code> </FalsableReturnStatement> </file> <file src="lib/private/Template/CSSResourceLocator.php"> <ParamNameMismatch> - <code>$style</code> - <code>$style</code> + <code><![CDATA[$style]]></code> + <code><![CDATA[$style]]></code> </ParamNameMismatch> </file> <file src="lib/private/Template/JSConfigHelper.php"> <NullArgument> - <code>null</code> - <code>null</code> + <code><![CDATA[null]]></code> + <code><![CDATA[null]]></code> </NullArgument> </file> <file src="lib/private/Template/JSResourceLocator.php"> <InvalidArgument> - <code>false</code> + <code><![CDATA[false]]></code> </InvalidArgument> <ParamNameMismatch> - <code>$script</code> - <code>$script</code> + <code><![CDATA[$script]]></code> + <code><![CDATA[$script]]></code> </ParamNameMismatch> </file> <file src="lib/private/TemplateLayout.php"> <InvalidParamDefault> - <code>string</code> - <code>string</code> + <code><![CDATA[string]]></code> + <code><![CDATA[string]]></code> </InvalidParamDefault> <InvalidScalarArgument> - <code>$appName</code> - <code>$appName</code> + <code><![CDATA[$appName]]></code> + <code><![CDATA[$appName]]></code> </InvalidScalarArgument> <UndefinedInterfaceMethod> - <code>getInitialStates</code> + <code><![CDATA[getInitialStates]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/URLGenerator.php"> <InvalidReturnStatement> - <code>$path</code> + <code><![CDATA[$path]]></code> </InvalidReturnStatement> </file> <file src="lib/private/User/Database.php"> <FalsableReturnStatement> - <code>false</code> + <code><![CDATA[false]]></code> </FalsableReturnStatement> </file> <file src="lib/private/User/Manager.php"> <ImplementedReturnTypeMismatch> - <code>IUser|false</code> + <code><![CDATA[IUser|false]]></code> </ImplementedReturnTypeMismatch> <InvalidArgument> - <code>$backend</code> + <code><![CDATA[$backend]]></code> </InvalidArgument> <UndefinedInterfaceMethod> - <code>createUser</code> - <code>getUsersForUserValueCaseInsensitive</code> + <code><![CDATA[createUser]]></code> + <code><![CDATA[getUsersForUserValueCaseInsensitive]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/User/Session.php"> <ImplementedReturnTypeMismatch> - <code>boolean|null</code> + <code><![CDATA[boolean|null]]></code> </ImplementedReturnTypeMismatch> <NoInterfaceProperties> <code><![CDATA[$request->server]]></code> @@ -2954,77 +2892,77 @@ </file> <file src="lib/private/User/User.php"> <UndefinedInterfaceMethod> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> - <code>emit</code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> + <code><![CDATA[emit]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_API.php"> <InvalidNullableReturnType> - <code>int</code> + <code><![CDATA[int]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>null</code> + <code><![CDATA[null]]></code> </NullableReturnStatement> </file> <file src="lib/private/legacy/OC_App.php"> <InvalidArgument> - <code>$groupsList</code> + <code><![CDATA[$groupsList]]></code> </InvalidArgument> <InvalidArrayOffset> <code><![CDATA[$dir['path']]]></code> <code><![CDATA[$dir['url']]]></code> </InvalidArrayOffset> <NullArgument> - <code>null</code> + <code><![CDATA[null]]></code> </NullArgument> <TypeDoesNotContainNull> - <code>$appId === null</code> - <code>$appId === null</code> + <code><![CDATA[$appId === null]]></code> + <code><![CDATA[$appId === null]]></code> </TypeDoesNotContainNull> </file> <file src="lib/private/legacy/OC_FileChunking.php"> <UndefinedDocblockClass> - <code>\OC\InsufficientStorageException</code> + <code><![CDATA[\OC\InsufficientStorageException]]></code> </UndefinedDocblockClass> </file> <file src="lib/private/legacy/OC_Files.php"> <RedundantCondition> - <code>$getType === self::ZIP_DIR</code> - <code>$getType === self::ZIP_DIR</code> + <code><![CDATA[$getType === self::ZIP_DIR]]></code> + <code><![CDATA[$getType === self::ZIP_DIR]]></code> </RedundantCondition> <UndefinedInterfaceMethod> - <code>get</code> - <code>get</code> + <code><![CDATA[get]]></code> + <code><![CDATA[get]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_Helper.php"> <InvalidArrayOffset> - <code>$matches[0][$last_match]</code> - <code>$matches[1][$last_match]</code> + <code><![CDATA[$matches[0][$last_match]]]></code> + <code><![CDATA[$matches[1][$last_match]]]></code> </InvalidArrayOffset> <InvalidScalarArgument> - <code>$path</code> + <code><![CDATA[$path]]></code> </InvalidScalarArgument> <UndefinedInterfaceMethod> - <code>getQuota</code> + <code><![CDATA[getQuota]]></code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_Template.php"> <InvalidReturnType> - <code>bool|string</code> + <code><![CDATA[bool|string]]></code> </InvalidReturnType> </file> <file src="lib/private/legacy/OC_User.php"> <UndefinedClass> - <code>\Test\Util\User\Dummy</code> + <code><![CDATA[\Test\Util\User\Dummy]]></code> </UndefinedClass> </file> <file src="lib/private/legacy/OC_Util.php"> <InvalidReturnType> - <code>void</code> + <code><![CDATA[void]]></code> </InvalidReturnType> </file> <file src="lib/public/AppFramework/ApiController.php"> @@ -3039,10 +2977,10 @@ </file> <file src="lib/public/AppFramework/Db/Entity.php"> <InvalidNullableReturnType> - <code>string</code> + <code><![CDATA[string]]></code> </InvalidNullableReturnType> <NullableReturnStatement> - <code>$column</code> + <code><![CDATA[$column]]></code> </NullableReturnStatement> </file> <file src="lib/public/AppFramework/Http/Response.php"> @@ -3050,50 +2988,41 @@ <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>array{X-Request-Id: string, Cache-Control: string, Content-Security-Policy: string, Feature-Policy: string, X-Robots-Tag: string, Last-Modified?: string, ETag?: string, ...H}</code> + <code><![CDATA[array{X-Request-Id: string, Cache-Control: string, Content-Security-Policy: string, Feature-Policy: string, X-Robots-Tag: string, Last-Modified?: string, ETag?: string, ...H}]]></code> </MoreSpecificReturnType> </file> - <file src="lib/public/Authentication/Token/IToken.php"> - <AmbiguousConstantInheritance> - <code>DO_NOT_REMEMBER</code> - <code>PERMANENT_TOKEN</code> - <code>REMEMBER</code> - <code>TEMPORARY_TOKEN</code> - <code>WIPE_TOKEN</code> - </AmbiguousConstantInheritance> - </file> <file src="lib/public/Color.php"> <LessSpecificReturnStatement> - <code>$step</code> + <code><![CDATA[$step]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>array{0: int, 1: int, 2: int}</code> + <code><![CDATA[array{0: int, 1: int, 2: int}]]></code> </MoreSpecificReturnType> </file> <file src="lib/public/Diagnostics/IQueryLogger.php"> <LessSpecificImplementedReturnType> - <code>mixed</code> + <code><![CDATA[mixed]]></code> </LessSpecificImplementedReturnType> </file> <file src="lib/public/EventDispatcher/GenericEvent.php"> <MissingTemplateParam> - <code>ArrayAccess</code> - <code>IteratorAggregate</code> + <code><![CDATA[ArrayAccess]]></code> + <code><![CDATA[IteratorAggregate]]></code> </MissingTemplateParam> </file> <file src="lib/public/Files.php"> <FalsableReturnStatement> - <code>\OC_App::getStorage($app)</code> + <code><![CDATA[\OC_App::getStorage($app)]]></code> </FalsableReturnStatement> </file> <file src="lib/public/Files/Storage.php"> <InvalidParamDefault> - <code>array</code> + <code><![CDATA[array]]></code> </InvalidParamDefault> </file> <file src="lib/public/L10N/ILanguageIterator.php"> <MissingTemplateParam> - <code>\Iterator</code> + <code><![CDATA[\Iterator]]></code> </MissingTemplateParam> </file> <file src="lib/public/Preview/BeforePreviewFetchedEvent.php"> @@ -3101,7 +3030,7 @@ <code><![CDATA[$this->mode]]></code> </LessSpecificReturnStatement> <MoreSpecificReturnType> - <code>null|IPreview::MODE_FILL|IPreview::MODE_COVER</code> + <code><![CDATA[null|IPreview::MODE_FILL|IPreview::MODE_COVER]]></code> </MoreSpecificReturnType> </file> </files> diff --git a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php index 873744e6f94..611b880cefd 100644 --- a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php +++ b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php @@ -31,7 +31,7 @@ class GenerateMimetypeFileBuilder { /** * Generate mime type list file * - * @param array $aliases + * @param array<string,string> $aliases * @return string */ public function generateFile(array $aliases): string { diff --git a/core/Command/Preview/Generate.php b/core/Command/Preview/Generate.php index 86528319199..b43f52a66a8 100644 --- a/core/Command/Preview/Generate.php +++ b/core/Command/Preview/Generate.php @@ -57,13 +57,13 @@ class Generate extends Command { protected function execute(InputInterface $input, OutputInterface $output): int { $fileInput = $input->getArgument("file"); $sizes = $input->getOption("size"); - $sizes = array_map(function (string $size) use ($output, &$error) { + $sizes = array_map(function (string $size) use ($output) { if (str_contains($size, 'x')) { $sizeParts = explode('x', $size, 2); } else { $sizeParts = [$size, $size]; } - if (!is_numeric($sizeParts[0]) || !is_numeric($sizeParts[1])) { + if (!is_numeric($sizeParts[0]) || !is_numeric($sizeParts[1] ?? null)) { $output->writeln("<error>Invalid size $size</error>"); return null; } diff --git a/lib/base.php b/lib/base.php index 891161ff0c6..14437267052 100644 --- a/lib/base.php +++ b/lib/base.php @@ -662,11 +662,11 @@ class OC { //this doesn´t work always depending on the webserver and php configuration. //Let´s try to overwrite some defaults if they are smaller than 1 hour - if (intval(@ini_get('max_execution_time') ?? 0) < 3600) { + if (intval(@ini_get('max_execution_time') ?: 0) < 3600) { @ini_set('max_execution_time', strval(3600)); } - if (intval(@ini_get('max_input_time') ?? 0) < 3600) { + if (intval(@ini_get('max_input_time') ?: 0) < 3600) { @ini_set('max_input_time', strval(3600)); } diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 338792e23d1..0732294abae 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -850,11 +850,10 @@ class AppConfig implements IAppConfig { // update local cache if ($lazy) { - $cache = &$this->lazyCache; + $this->lazyCache[$app][$key] = $value; } else { - $cache = &$this->fastCache; + $this->fastCache[$app][$key] = $value; } - $cache[$app][$key] = $value; $this->valueTypes[$app][$key] = $type; return true; @@ -1264,11 +1263,10 @@ class AppConfig implements IAppConfig { foreach ($rows as $row) { // most of the time, 'lazy' is not in the select because its value is already known if (($row['lazy'] ?? ($lazy ?? 0) ? 1 : 0) === 1) { - $cache = &$this->lazyCache; + $this->lazyCache[$row['appid']][$row['configkey']] = $row['configvalue'] ?? ''; } else { - $cache = &$this->fastCache; + $this->fastCache[$row['appid']][$row['configkey']] = $row['configvalue'] ?? ''; } - $cache[$row['appid']][$row['configkey']] = $row['configvalue'] ?? ''; $this->valueTypes[$row['appid']][$row['configkey']] = (int)($row['type'] ?? 0); } $result->closeCursor(); diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 7a614878ab5..af3993df8bd 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -57,12 +57,12 @@ use Symfony\Component\HttpFoundation\IpUtils; * Class for accessing variables in the request. * This class provides an immutable object with request variables. * - * @property mixed[] cookies - * @property mixed[] env - * @property mixed[] files - * @property string method - * @property mixed[] parameters - * @property mixed[] server + * @property mixed[] $cookies + * @property mixed[] $env + * @property mixed[] $files + * @property string $method + * @property mixed[] $parameters + * @property mixed[] $server * @template-implements \ArrayAccess<string,mixed> */ class Request implements \ArrayAccess, \Countable, IRequest { diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php index 77f09df307d..d148ecbdfc4 100644 --- a/lib/private/AppFramework/Utility/SimpleContainer.php +++ b/lib/private/AppFramework/Utility/SimpleContainer.php @@ -228,8 +228,8 @@ class SimpleContainer implements ArrayAccess, ContainerInterface, IContainer { /** * @deprecated 20.0.0 use \OCP\IContainer::registerService */ - public function offsetSet($id, $service): void { - $this->container->offsetSet($id, $service); + public function offsetSet($offset, $value): void { + $this->container->offsetSet($offset, $value); } /** diff --git a/lib/private/Archive/TAR.php b/lib/private/Archive/TAR.php index a6140e44eb6..ef300b0f3b0 100644 --- a/lib/private/Archive/TAR.php +++ b/lib/private/Archive/TAR.php @@ -48,15 +48,9 @@ class TAR extends Archive { */ private $cachedHeaders = false; - /** - * @var \Archive_Tar - */ - private $tar = null; + private \Archive_Tar $tar; - /** - * @var string - */ - private $path; + private string $path; public function __construct(string $source) { $types = [null, 'gz', 'bz2']; @@ -137,7 +131,7 @@ class TAR extends Archive { $tmp = \OC::$server->getTempManager()->getTemporaryFolder(); $this->tar->extract($tmp); rename($tmp . $source, $tmp . $dest); - $this->tar = null; + $this->tar->_close(); unlink($this->path); $types = [null, 'gz', 'bz']; $this->tar = new \Archive_Tar($this->path, $types[self::getTarType($this->path)]); @@ -209,11 +203,16 @@ class TAR extends Archive { * get all files in the archive */ public function getFiles(): array { - if ($this->fileList) { + if ($this->fileList !== false) { return $this->fileList; } - if (!$this->cachedHeaders) { - $this->cachedHeaders = $this->tar->listContent(); + if ($this->cachedHeaders === false) { + $headers = $this->tar->listContent(); + if (is_array($headers)) { + $this->cachedHeaders = $headers; + } else { + return []; + } } $files = []; foreach ($this->cachedHeaders as $header) { @@ -230,6 +229,7 @@ class TAR extends Archive { */ public function getFile(string $path) { $string = $this->tar->extractInString($path); + /** @var ?string $string */ if (is_string($string)) { return $string; } else { @@ -300,7 +300,6 @@ class TAR extends Archive { $tmp = \OC::$server->getTempManager()->getTemporaryFolder(); $this->tar->extract($tmp); \OCP\Files::rmdirr($tmp . $path); - $this->tar = null; unlink($this->path); $this->reopen(); $this->tar->createModify([$tmp], '', $tmp); @@ -347,10 +346,7 @@ class TAR extends Archive { * reopen the archive to ensure everything is written */ private function reopen(): void { - if ($this->tar) { - $this->tar->_close(); - $this->tar = null; - } + $this->tar->_close(); $types = [null, 'gz', 'bz']; $this->tar = new \Archive_Tar($this->path, $types[self::getTarType($this->path)]); } @@ -359,7 +355,7 @@ class TAR extends Archive { * Get error object from archive_tar. */ public function getError(): ?\PEAR_Error { - if ($this->tar instanceof \Archive_Tar && $this->tar->error_object instanceof \PEAR_Error) { + if ($this->tar->error_object instanceof \PEAR_Error) { return $this->tar->error_object; } return null; diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index c2818911ccf..d78cf50e319 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -975,14 +975,10 @@ class QueryBuilder implements IQueryBuilder { * * @return $this This QueryBuilder instance. */ - public function addGroupBy(...$groupBys) { - if (count($groupBys) === 1 && is_array($groupBys[0])) { - $$groupBys = $groupBys[0]; - } - + public function addGroupBy(...$groupBy) { call_user_func_array( [$this->queryBuilder, 'addGroupBy'], - $this->helper->quoteColumnNames($groupBys) + $this->helper->quoteColumnNames($groupBy) ); return $this; diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php index 4db41d85a3e..232aa711459 100644 --- a/lib/private/DirectEditing/Manager.php +++ b/lib/private/DirectEditing/Manager.php @@ -297,10 +297,9 @@ class Manager implements IManager { } /** - * @param $userId - * @param $fileId - * @param null $filePath - * @return Node + * @param string $userId + * @param int $fileId + * @param ?string $filePath * @throws NotFoundException */ public function getFileForToken($userId, $fileId, $filePath = null): Node { diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 2c90a28fe3b..0861b9e8a98 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -524,6 +524,7 @@ class Local extends \OC\Files\Storage\Common { $realPath = realpath($pathToResolve); while ($realPath === false) { // for non existing files check the parent directory $currentPath = dirname($currentPath); + /** @psalm-suppress TypeDoesNotContainType Let's be extra cautious and still check for empty string */ if ($currentPath === '' || $currentPath === '.') { return $fullPath; } diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php index 71b8cb986d7..a6944995f4c 100644 --- a/lib/private/Files/Type/Detection.php +++ b/lib/private/Files/Type/Detection.php @@ -56,32 +56,19 @@ class Detection implements IMimeTypeDetector { private const CUSTOM_MIMETYPEMAPPING = 'mimetypemapping.json'; private const CUSTOM_MIMETYPEALIASES = 'mimetypealiases.json'; - protected $mimetypes = []; - protected $secureMimeTypes = []; - - protected $mimetypeIcons = []; - /** @var string[] */ - protected $mimeTypeAlias = []; - - /** @var IURLGenerator */ - private $urlGenerator; - - private LoggerInterface $logger; - - /** @var string */ - private $customConfigDir; - - /** @var string */ - private $defaultConfigDir; - - public function __construct(IURLGenerator $urlGenerator, - LoggerInterface $logger, - string $customConfigDir, - string $defaultConfigDir) { - $this->urlGenerator = $urlGenerator; - $this->logger = $logger; - $this->customConfigDir = $customConfigDir; - $this->defaultConfigDir = $defaultConfigDir; + protected array $mimetypes = []; + protected array $secureMimeTypes = []; + + protected array $mimetypeIcons = []; + /** @var array<string,string> */ + protected array $mimeTypeAlias = []; + + public function __construct( + private IURLGenerator $urlGenerator, + private LoggerInterface $logger, + private string $customConfigDir, + private string $defaultConfigDir, + ) { } /** @@ -151,7 +138,7 @@ class Detection implements IMimeTypeDetector { } /** - * @return string[] + * @return array<string,string> */ public function getAllAliases(): array { $this->loadAliases(); diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index 2b6eb70502b..30f55107a96 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -98,26 +98,15 @@ class Manager extends PublicEmitter implements IGroupManager { $this->logger = $logger; $this->displayNameCache = new DisplayNameCache($cacheFactory, $this); - $cachedGroups = &$this->cachedGroups; - $cachedUserGroups = &$this->cachedUserGroups; - $this->listen('\OC\Group', 'postDelete', function ($group) use (&$cachedGroups, &$cachedUserGroups) { - /** - * @var \OC\Group\Group $group - */ - unset($cachedGroups[$group->getGID()]); - $cachedUserGroups = []; + $this->listen('\OC\Group', 'postDelete', function (IGroup $group): void { + unset($this->cachedGroups[$group->getGID()]); + $this->cachedUserGroups = []; }); - $this->listen('\OC\Group', 'postAddUser', function ($group) use (&$cachedUserGroups) { - /** - * @var \OC\Group\Group $group - */ - $cachedUserGroups = []; + $this->listen('\OC\Group', 'postAddUser', function (IGroup $group): void { + $this->cachedUserGroups = []; }); - $this->listen('\OC\Group', 'postRemoveUser', function ($group) use (&$cachedUserGroups) { - /** - * @var \OC\Group\Group $group - */ - $cachedUserGroups = []; + $this->listen('\OC\Group', 'postRemoveUser', function (IGroup $group): void { + $this->cachedUserGroups = []; }); } diff --git a/lib/private/Preview/MimeIconProvider.php b/lib/private/Preview/MimeIconProvider.php index 80073c307c9..d0c484d20a5 100644 --- a/lib/private/Preview/MimeIconProvider.php +++ b/lib/private/Preview/MimeIconProvider.php @@ -47,7 +47,7 @@ class MimeIconProvider implements IMimeIconProvider { $aliases = $this->mimetypeDetector->getAllAliases(); // Remove comments - $aliases = array_filter($aliases, static function ($key) { + $aliases = array_filter($aliases, static function (string $key) { return !($key === '' || $key[0] === '_'); }, ARRAY_FILTER_USE_KEY); diff --git a/lib/private/Share20/Share.php b/lib/private/Share20/Share.php index 19b36cb60e8..e1d8818216b 100644 --- a/lib/private/Share20/Share.php +++ b/lib/private/Share20/Share.php @@ -91,27 +91,23 @@ class Share implements IShare { /** @var string */ private $label = ''; - /** @var IRootFolder */ - private $rootFolder; - - /** @var IUserManager */ - private $userManager; - /** @var ICacheEntry|null */ private $nodeCacheEntry; /** @var bool */ private $hideDownload = false; - public function __construct(IRootFolder $rootFolder, IUserManager $userManager) { - $this->rootFolder = $rootFolder; - $this->userManager = $userManager; + public function __construct( + private IRootFolder $rootFolder, + private IUserManager $userManager, + ) { } /** * @inheritdoc */ public function setId($id) { + /** @var mixed $id Let's be safe until strong typing */ if (is_int($id)) { $id = (string)$id; } @@ -538,7 +534,7 @@ class Share implements IShare { /** * Set the parent of this share * - * @param int parent + * @param int $parent * @return IShare * @deprecated The new shares do not have parents. This is just here for legacy reasons. */ diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 66a9529483e..a8664dd2048 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -79,35 +79,26 @@ class Manager extends PublicEmitter implements IUserManager { /** * @var \OCP\UserInterface[] $backends */ - private $backends = []; + private array $backends = []; /** - * @var \OC\User\User[] $cachedUsers + * @var array<string,\OC\User\User> $cachedUsers */ - private $cachedUsers = []; + private array $cachedUsers = []; - /** @var IConfig */ - private $config; - - /** @var ICache */ - private $cache; - - /** @var IEventDispatcher */ - private $eventDispatcher; + private ICache $cache; private DisplayNameCache $displayNameCache; - public function __construct(IConfig $config, + public function __construct( + private IConfig $config, ICacheFactory $cacheFactory, - IEventDispatcher $eventDispatcher) { - $this->config = $config; + private IEventDispatcher $eventDispatcher, + ) { $this->cache = new WithLocalCache($cacheFactory->createDistributed('user_backend_map')); - $cachedUsers = &$this->cachedUsers; - $this->listen('\OC\User', 'postDelete', function ($user) use (&$cachedUsers) { - /** @var \OC\User\User $user */ - unset($cachedUsers[$user->getUID()]); + $this->listen('\OC\User', 'postDelete', function (IUser $user): void { + unset($this->cachedUsers[$user->getUID()]); }); - $this->eventDispatcher = $eventDispatcher; $this->displayNameCache = new DisplayNameCache($cacheFactory, $this); } diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php index 1b2f83941c8..7e6d8632642 100644 --- a/lib/private/legacy/OC_Files.php +++ b/lib/private/legacy/OC_Files.php @@ -104,7 +104,7 @@ class OC_Files { * return the content of a file or return a zip file containing multiple files * * @param string $dir - * @param string $files ; separated list of files to download + * @param string|array $files ; separated list of files to download * @param array $params ; 'head' boolean to only send header of the request ; 'range' http range header */ public static function get($dir, $files, $params = null) { diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php index 9a12bd50e0e..7c9810e9081 100644 --- a/lib/private/legacy/OC_Helper.php +++ b/lib/private/legacy/OC_Helper.php @@ -138,7 +138,7 @@ class OC_Helper { $bytes = (float)$str; - if (preg_match('#([kmgtp]?b?)$#si', $str, $matches) && !empty($bytes_array[$matches[1]])) { + if (preg_match('#([kmgtp]?b?)$#si', $str, $matches) && isset($bytes_array[$matches[1]])) { $bytes *= $bytes_array[$matches[1]]; } else { return false; diff --git a/lib/public/Files/IMimeTypeDetector.php b/lib/public/Files/IMimeTypeDetector.php index 9992c153edc..4933975e108 100644 --- a/lib/public/Files/IMimeTypeDetector.php +++ b/lib/public/Files/IMimeTypeDetector.php @@ -84,7 +84,7 @@ interface IMimeTypeDetector { public function mimeTypeIcon($mimeType); /** - * @return string[] + * @return array<string,string> * @since 28.0.0 */ public function getAllAliases(): array; diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index a059696a75e..0961631ea92 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -587,6 +587,7 @@ interface IShare { * Set the cache entry for the shared node * * @param ICacheEntry $entry + * @return void * @since 11.0.0 */ public function setNodeCacheEntry(ICacheEntry $entry); diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index 1794df5aa8d..c47f56b3e81 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "amphp/amp", - "version": "v2.6.2", + "version": "v2.6.4", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" + "reference": "ded3d9be08f526089eb7ee8d9f16a9768f9dec2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "url": "https://api.github.com/repos/amphp/amp/zipball/ded3d9be08f526089eb7ee8d9f16a9768f9dec2d", + "reference": "ded3d9be08f526089eb7ee8d9f16a9768f9dec2d", "shasum": "" }, "require": { @@ -29,8 +29,8 @@ "ext-json": "*", "jetbrains/phpstorm-stubs": "^2019.3", "phpunit/phpunit": "^7 | ^8 | ^9", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" + "react/promise": "^2", + "vimeo/psalm": "^3.12" }, "type": "library", "extra": { @@ -85,7 +85,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.2" + "source": "https://github.com/amphp/amp/tree/v2.6.4" }, "funding": [ { @@ -93,7 +93,7 @@ "type": "github" } ], - "time": "2022-02-20T17:52:18+00:00" + "time": "2024-03-21T18:52:26+00:00" }, { "name": "amphp/byte-stream", @@ -174,16 +174,16 @@ }, { "name": "composer/pcre", - "version": "3.0.2", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb" + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb", - "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb", + "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", "shasum": "" }, "require": { @@ -225,7 +225,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.0.2" + "source": "https://github.com/composer/pcre/tree/3.1.3" }, "funding": [ { @@ -241,20 +241,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T20:24:16+00:00" + "time": "2024-03-19T10:26:25+00:00" }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { @@ -304,9 +304,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "source": "https://github.com/composer/semver/tree/3.4.0" }, "funding": [ { @@ -322,20 +322,20 @@ "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2023-08-31T09:50:34+00:00" }, { "name": "composer/xdebug-handler", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/4f988f8fdf580d53bdb2d1278fe93d1ed5462255", + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255", "shasum": "" }, "require": { @@ -346,7 +346,7 @@ "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, "type": "library", "autoload": { @@ -370,9 +370,9 @@ "performance" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.4" }, "funding": [ { @@ -388,7 +388,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T21:32:43+00:00" + "time": "2024-03-26T18:29:49+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -428,6 +428,53 @@ "time": "2019-12-04T15:06:13+00:00" }, { + "name": "doctrine/deprecations", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" + }, + "time": "2024-01-30T19:34:25+00:00" + }, + { "name": "felixfbecker/advanced-json-rpc", "version": "v3.2.1", "source": { @@ -530,16 +577,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.5.1", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", "shasum": "" }, "require": { @@ -547,13 +594,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^9.5.26 || ^8.5.31", - "theofidry/php-cs-fixer-config": "^1.0", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -579,7 +626,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" }, "funding": [ { @@ -587,20 +634,20 @@ "type": "github" } ], - "time": "2022-12-24T12:35:10+00:00" + "time": "2024-02-07T09:43:46+00:00" }, { "name": "netresearch/jsonmapper", - "version": "v4.0.0", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d" + "reference": "132c75c7dd83e45353ebb9c6c9f591952995bbf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/132c75c7dd83e45353ebb9c6c9f591952995bbf0", + "reference": "132c75c7dd83e45353ebb9c6c9f591952995bbf0", "shasum": "" }, "require": { @@ -611,7 +658,7 @@ "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -636,27 +683,27 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.4.1" }, - "time": "2020-12-01T19:48:11+00:00" + "time": "2024-01-31T06:18:54+00:00" }, { "name": "nikic/php-parser", - "version": "v4.15.1", + "version": "v4.19.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900" + "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b", + "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.1" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", @@ -692,9 +739,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.1" }, - "time": "2022-09-04T07:30:47+00:00" + "time": "2024-03-17T08:10:35+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -808,24 +855,27 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.6.2", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d" + "reference": "153ae662783729388a584b4361f2545e4d841e3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/48f445a408c131e38cab1c235aa6d2bb7a0bb20d", - "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/153ae662783729388a584b4361f2545e4d841e3c", + "reference": "153ae662783729388a584b4361f2545e4d841e3c", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "doctrine/deprecations": "^1.0", + "php": "^7.3 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" }, "require-dev": { "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.1", @@ -857,9 +907,56 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.2" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.2" + }, + "time": "2024-02-23T11:10:43+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.27.0", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "86e4d5a4b036f8f0be1464522f4c6b584c452757" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/86e4d5a4b036f8f0be1464522f4c6b584c452757", + "reference": "86e4d5a4b036f8f0be1464522f4c6b584c452757", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" }, - "time": "2022-10-14T12:47:21+00:00" + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.27.0" + }, + "time": "2024-03-21T13:14:53+00:00" }, { "name": "psr/container", @@ -961,16 +1058,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -1015,7 +1112,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -1023,20 +1120,20 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "spatie/array-to-xml", - "version": "3.1.5", + "version": "3.2.3", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43" + "reference": "c95fd4db94ec199f798d4b5b4a81757bd20d88ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/13f76acef5362d15c71ae1ac6350cc3df5e25e43", - "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/c95fd4db94ec199f798d4b5b4a81757bd20d88ab", + "reference": "c95fd4db94ec199f798d4b5b4a81757bd20d88ab", "shasum": "" }, "require": { @@ -1074,7 +1171,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/3.1.5" + "source": "https://github.com/spatie/array-to-xml/tree/3.2.3" }, "funding": [ { @@ -1086,20 +1183,20 @@ "type": "github" } ], - "time": "2022-12-24T13:43:51+00:00" + "time": "2024-02-07T10:39:02+00:00" }, { "name": "symfony/console", - "version": "v5.4.15", + "version": "v5.4.36", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669" + "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ea59bb0edfaf9f28d18d8791410ee0355f317669", - "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669", + "url": "https://api.github.com/repos/symfony/console/zipball/39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e", + "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e", "shasum": "" }, "require": { @@ -1164,12 +1261,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.15" + "source": "https://github.com/symfony/console/tree/v5.4.36" }, "funding": [ { @@ -1185,7 +1282,7 @@ "type": "tidelift" } ], - "time": "2022-10-26T21:41:52+00:00" + "time": "2024-02-20T16:33:57+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1256,16 +1353,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.4.21", + "version": "v5.4.35", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f" + "reference": "5a553607d4ffbfa9c0ab62facadea296c9db7086" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", - "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/5a553607d4ffbfa9c0ab62facadea296c9db7086", + "reference": "5a553607d4ffbfa9c0ab62facadea296c9db7086", "shasum": "" }, "require": { @@ -1300,7 +1397,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.21" + "source": "https://github.com/symfony/filesystem/tree/v5.4.35" }, "funding": [ { @@ -1316,20 +1413,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "shasum": "" }, "require": { @@ -1343,9 +1440,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1382,7 +1476,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" }, "funding": [ { @@ -1398,20 +1492,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "433d05519ce6990bf3530fba6957499d327395c2" + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", - "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", "shasum": "" }, "require": { @@ -1422,9 +1516,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1463,7 +1554,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" }, "funding": [ { @@ -1479,20 +1570,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "shasum": "" }, "require": { @@ -1503,9 +1594,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1547,7 +1635,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" }, "funding": [ { @@ -1563,20 +1651,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", "shasum": "" }, "require": { @@ -1590,9 +1678,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1630,7 +1715,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" }, "funding": [ { @@ -1646,20 +1731,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/21bd091060673a1177ae842c0ef8fe30893114d2", + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2", "shasum": "" }, "require": { @@ -1667,9 +1752,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1709,7 +1791,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.29.0" }, "funding": [ { @@ -1725,20 +1807,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.26.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", "shasum": "" }, "require": { @@ -1746,9 +1828,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1792,7 +1871,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" }, "funding": [ { @@ -1808,7 +1887,7 @@ "type": "tidelift" } ], - "time": "2022-05-10T07:21:04+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/service-contracts", @@ -1895,16 +1974,16 @@ }, { "name": "symfony/string", - "version": "v5.4.15", + "version": "v5.4.36", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed" + "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", - "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", + "url": "https://api.github.com/repos/symfony/string/zipball/4e232c83622bd8cd32b794216aa29d0d266d353b", + "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b", "shasum": "" }, "require": { @@ -1961,7 +2040,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.15" + "source": "https://github.com/symfony/string/tree/v5.4.36" }, "funding": [ { @@ -1977,20 +2056,20 @@ "type": "tidelift" } ], - "time": "2022-10-05T15:16:54+00:00" + "time": "2024-02-01T08:49:30+00:00" }, { "name": "vimeo/psalm", - "version": "5.9.0", + "version": "5.23.1", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "8b9ad1eb9e8b7d3101f949291da2b9f7767cd163" + "reference": "8471a896ccea3526b26d082f4461eeea467f10a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/8b9ad1eb9e8b7d3101f949291da2b9f7767cd163", - "reference": "8b9ad1eb9e8b7d3101f949291da2b9f7767cd163", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/8471a896ccea3526b26d082f4461eeea467f10a4", + "reference": "8471a896ccea3526b26d082f4461eeea467f10a4", "shasum": "" }, "require": { @@ -2009,14 +2088,17 @@ "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.1", "felixfbecker/language-server-protocol": "^1.5.2", - "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.14", - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", - "sebastian/diff": "^4.0 || ^5.0", + "nikic/php-parser": "^4.16", + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "sebastian/diff": "^4.0 || ^5.0 || ^6.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", - "symfony/console": "^4.1.6 || ^5.0 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0" + "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" + }, + "conflict": { + "nikic/php-parser": "4.17.0" }, "provide": { "psalm/psalm": "self.version" @@ -2035,7 +2117,7 @@ "psalm/plugin-phpunit": "^0.18", "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.6", - "symfony/process": "^4.4 || ^5.0 || ^6.0" + "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { "ext-curl": "In order to send data to shepherd", @@ -2048,7 +2130,7 @@ "psalm-refactor", "psalter" ], - "type": "library", + "type": "project", "extra": { "branch-alias": { "dev-master": "5.x-dev", @@ -2080,10 +2162,11 @@ "static analysis" ], "support": { + "docs": "https://psalm.dev/docs", "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/5.9.0" + "source": "https://github.com/vimeo/psalm" }, - "time": "2023-03-29T21:38:21+00:00" + "time": "2024-03-11T20:33:46+00:00" }, { "name": "webmozart/assert", @@ -2155,5 +2238,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } |