diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index eb5a496e183..cb979928fa7 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,5 @@ - + string|null @@ -45,12 +45,8 @@ $e->getCode() - - is_array($notification) - - + !is_array($notification) - is_array($notification) @@ -235,11 +231,6 @@ Uri\split($row['principaluri']) - - - parent::getOwner() - - \Sabre\CalDAv\Notifications\Collection @@ -441,13 +432,10 @@ - + !is_array($newProps['filters']['comps']) !is_array($newProps['filters']['params']) !is_array($newProps['filters']['props']) - is_array($newProps['filters']['comps']) - is_array($newProps['filters']['params']) - is_array($newProps['filters']['props']) @@ -455,11 +443,6 @@ $webcalData - - - parent::getOwner() - - $id @@ -573,12 +556,8 @@ - - is_string($name) - - + !is_string($name) - is_string($name) @@ -1639,6 +1618,14 @@ false + + $entry + $this->formatCacheEntry(clone $this->sourceRootInfo, '') + + + formatCacheEntry + get + null @@ -1659,12 +1646,6 @@ \OCA\Talk\Share\Helper\DeletedShareAPIController - - - 'http' - 'https' - - $code @@ -1689,9 +1670,8 @@ - + $files_list - 'Share has no read permission' $freeSpace @@ -1707,11 +1687,6 @@ $password - - - null - - (int) $remoteShare @@ -1841,9 +1816,6 @@ - - ITrash - $entry @@ -1870,9 +1842,6 @@ - - ITrash - $entry @@ -2048,13 +2017,6 @@ dispatch - - - $this->l10n->t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e->getMessage()]) - $this->l10n->t('Invalid SMTP password.') - $this->l10n->t('You need to set your user email before being able to send test emails.') - - [$user->getEMailAddress() => $user->getDisplayName()] @@ -2204,9 +2166,6 @@ - - $newToken - $this->timeFactory->getTime() 0 @@ -2273,20 +2232,18 @@ $cookie - + !is_null($limit) !isset($ldapName[0]) && empty($ldapName[0]) $limit === 0 is_array($result) - is_null($limit) !$attribute === null is_null($findings) - + !is_null($attr) && !is_array($attr) - is_array($attr) isset($ldapRecord[$this->connection->$uuidAttr]) @@ -2343,14 +2300,12 @@ $groupID $groupID - + is_array($groupDNs) is_array($list) - is_array($members) - + !is_array($members) - is_array($members) @@ -2531,9 +2486,8 @@ LDAP_OPT_REFERRALS LDAP_OPT_REFERRALS - + !isset($item['cn']) && !is_array($item['cn']) - is_array($item['cn']) $total === false @@ -2591,9 +2545,6 @@ - - $deleted - $e->getCode() $e->getCode() @@ -2842,12 +2793,8 @@ - - is_string($stateToken) - - + !is_string($stateToken) - is_string($stateToken) @@ -3069,14 +3016,12 @@ - + $host $name $remoteAddress $this->getOverwriteHost() $this->method - $this->server[$name] - $this->server['UNIQUE_ID'] $uri isset($this->cookies[$key]) ? $this->cookies[$key] : null isset($this->env[$key]) ? $this->env[$key] : null @@ -3161,9 +3106,6 @@ strtolower - - - $default @@ -3366,12 +3308,8 @@ \DateTime|null - - is_array($mentions[0]) - - + !is_array($mentions[0]) - is_array($mentions[0]) @@ -3625,6 +3563,9 @@ + + stopQuery + microtime(true) @@ -4275,7 +4216,7 @@ - + copy copyFromStorage file_exists @@ -4283,6 +4224,7 @@ file_put_contents filemtime filesize + filetype fopen free_space getDirectDownload @@ -4755,19 +4697,11 @@ - + apcu_add($this->getPrefix() . $key, $value, $ttl) - apcu_delete($iter) - apcu_delete($this->getPrefix() . $key) - apcu_exists($this->getPrefix() . $key) - apcu_store($this->getPrefix() . $key, $value, $ttl) - + bool - clear - hasKey - remove - set @@ -4796,12 +4730,6 @@ exec exec - - self::$cache->exists($this->getNameSpace() . $key) - - - hasKey - @@ -5120,7 +5048,6 @@ $id $this->shareApiLinkDefaultExpireDays() - $this->shareApiLinkDefaultExpireDays() dispatch @@ -5635,14 +5562,6 @@ $column - - - $this->data - - - array - - $this->data @@ -5695,17 +5614,9 @@ - - string|false - - - array - - string|false - diff --git a/composer.lock b/composer.lock index 2e247023f63..f131d7972f8 100644 --- a/composer.lock +++ b/composer.lock @@ -159,16 +159,16 @@ }, { "name": "composer/package-versions-deprecated", - "version": "1.11.99", + "version": "1.11.99.1", "source": { "type": "git", "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855" + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", "shasum": "" }, "require": { @@ -224,7 +224,7 @@ "type": "tidelift" } ], - "time": "2020-08-25T05:50:16+00:00" + "time": "2020-11-11T10:22:58+00:00" }, { "name": "composer/semver", @@ -303,16 +303,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.4.4", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba" + "reference": "f28d44c286812c714741478d968104c5e604a1d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6e076a124f7ee146f2487554a94b6a19a74887ba", - "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", + "reference": "f28d44c286812c714741478d968104c5e604a1d4", "shasum": "" }, "require": { @@ -357,7 +357,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:39:10+00:00" + "time": "2020-11-13T08:04:11+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -2760,16 +2760,16 @@ }, { "name": "vimeo/psalm", - "version": "4.1.1", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "16bfbd9224698bd738c665f33039fade2a1a3977" + "reference": "ccf6e2805f4c38655110f425c10ca79511f0bb0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/16bfbd9224698bd738c665f33039fade2a1a3977", - "reference": "16bfbd9224698bd738c665f33039fade2a1a3977", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/ccf6e2805f4c38655110f425c10ca79511f0bb0e", + "reference": "ccf6e2805f4c38655110f425c10ca79511f0bb0e", "shasum": "" }, "require": { @@ -2857,7 +2857,7 @@ "inspection", "php" ], - "time": "2020-11-02T05:54:12+00:00" + "time": "2020-11-20T00:40:40+00:00" }, { "name": "webmozart/assert",