diff options
author | Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> | 2021-01-09 04:53:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-09 04:53:55 +0000 |
commit | f6969d98789d838e71c4cde6f20c3f5abe4d16db (patch) | |
tree | 5f7ee6b1019a61cb3a520875827e484a4a4f8185 /build | |
parent | e0e0d729dba6fd85e293fbf96bdddbea3b7d6fbe (diff) | |
download | nextcloud-server-f6969d98789d838e71c4cde6f20c3f5abe4d16db.tar.gz nextcloud-server-f6969d98789d838e71c4cde6f20c3f5abe4d16db.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 61 |
1 files changed, 2 insertions, 59 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 63c35a969b0..780c3051ac1 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,10 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <files psalm-version="4.2.1@ea9cb72143b77e7520c52fa37290bd8d8bc88fd9"> - <file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php"> - <ImplementedReturnTypeMismatch occurrences="1"> - <code>string|null</code> - </ImplementedReturnTypeMismatch> - </file> <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$calendarData</code> @@ -2527,14 +2522,6 @@ <code>dispatch</code> </TooManyArguments> </file> - <file src="apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php"> - <InvalidReturnStatement occurrences="1"> - <code>$selectQuery->execute()</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>Statement</code> - </InvalidReturnType> - </file> <file src="apps/workflowengine/lib/Service/RuleMatcher.php"> <UndefinedInterfaceMethod occurrences="5"> <code>getAllConfiguredScopesForOperation</code> @@ -3061,14 +3048,10 @@ </MoreSpecificImplementedParamType> </file> <file src="lib/private/Archive/TAR.php"> - <FalsableReturnStatement occurrences="1"> - <code>false</code> - </FalsableReturnStatement> - <InvalidReturnStatement occurrences="2"> + <InvalidReturnStatement occurrences="1"> <code>$this->tar->extractInString($path)</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="2"> - <code>resource</code> + <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <UndefinedDocblockClass occurrences="1"> @@ -3080,10 +3063,6 @@ <code>boolean|null</code> <code>boolean|null</code> </ImplementedReturnTypeMismatch> - <InvalidReturnStatement occurrences="1"/> - <InvalidReturnType occurrences="1"> - <code>resource</code> - </InvalidReturnType> </file> <file src="lib/private/Authentication/LoginCredentials/Store.php"> <RedundantCondition occurrences="1"> @@ -3388,15 +3367,7 @@ <code>getParams</code> </InternalMethod> </file> - <file src="lib/private/DB/AdapterPgSql.php"> - <FalsableReturnStatement occurrences="1"> - <code>$this->conn->fetchColumn('SELECT lastval()')</code> - </FalsableReturnStatement> - </file> <file src="lib/private/DB/Connection.php"> - <ImplementedReturnTypeMismatch occurrences="1"> - <code>string</code> - </ImplementedReturnTypeMismatch> <InternalMethod occurrences="1"> <code>getParams</code> </InternalMethod> @@ -3411,9 +3382,6 @@ <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> </InvalidScalarArgument> - <LessSpecificImplementedReturnType occurrences="1"> - <code>\Doctrine\DBAL\Driver\Statement</code> - </LessSpecificImplementedReturnType> <ParamNameMismatch occurrences="1"> <code>$statement</code> </ParamNameMismatch> @@ -3423,11 +3391,6 @@ <code>$options['default']</code> </InvalidScalarArgument> </file> - <file src="lib/private/DB/MDB2SchemaWriter.php"> - <InvalidScalarArgument occurrences="1"> - <code>$column->getLength()</code> - </InvalidScalarArgument> - </file> <file src="lib/private/DB/MigrationService.php"> <InvalidOperand occurrences="2"> <code>$offset</code> @@ -3465,9 +3428,6 @@ <ImplicitToStringCast occurrences="1"> <code>$this->functionBuilder->lower($x)</code> </ImplicitToStringCast> - <InvalidArgument occurrences="1"> - <code>$connection</code> - </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$y</code> <code>$y</code> @@ -3487,9 +3447,6 @@ </InvalidReturnType> </file> <file src="lib/private/DB/QueryBuilder/QueryBuilder.php"> - <InvalidArgument occurrences="1"> - <code>$this->connection</code> - </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> @@ -3592,9 +3549,6 @@ <ImplementedParamTypeMismatch occurrences="1"> <code>$eventName</code> </ImplementedParamTypeMismatch> - <ImplementedReturnTypeMismatch occurrences="1"> - <code>void</code> - </ImplementedReturnTypeMismatch> <InvalidArgument occurrences="1"> <code>$eventName</code> </InvalidArgument> @@ -4768,12 +4722,6 @@ <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->userToNotify</code> </InvalidPropertyAssignmentValue> - <InvalidReturnStatement occurrences="1"> - <code>$query->execute()</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>\Doctrine\DBAL\Driver\Statement</code> - </InvalidReturnType> </file> <file src="lib/private/Route/Router.php"> <InvalidClass occurrences="1"> @@ -5288,11 +5236,6 @@ <code>OC_DB_StatementWrapper</code> </InvalidReturnType> </file> - <file src="lib/private/legacy/OC_DB_StatementWrapper.php"> - <FalsableReturnStatement occurrences="1"> - <code>$this->statement->fetchColumn($column)</code> - </FalsableReturnStatement> - </file> <file src="lib/private/legacy/OC_EventSource.php"> <RedundantCondition occurrences="1"> <code>$this->fallback</code> |