diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-06 14:19:06 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-06 14:42:37 +0100 |
commit | 47c9c34cca22602fb609de6c0e1d32ec17a9e7fe (patch) | |
tree | d467879562a4286df5ade88403702038898b4b97 /build/psalm-baseline.xml | |
parent | 63a9bc2aacf829563ac74abe29d4edf6ff31b8b1 (diff) | |
download | nextcloud-server-47c9c34cca22602fb609de6c0e1d32ec17a9e7fe.tar.gz nextcloud-server-47c9c34cca22602fb609de6c0e1d32ec17a9e7fe.zip |
Fix psalm not running
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.
This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r-- | build/psalm-baseline.xml | 54 |
1 files changed, 3 insertions, 51 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 8235488b746..4f78db386e3 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69"> +<files psalm-version="4.17.0@6f4707aa41c9174353a6434bba3fc8840f981d9c"> <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$calendarData</code> @@ -1152,11 +1152,6 @@ <code>$files_list</code> </InvalidArgument> </file> - <file src="apps/files/ajax/list.php"> - <TypeDoesNotContainType occurrences="1"> - <code>!$dirInfo->getType() === 'dir'</code> - </TypeDoesNotContainType> - </file> <file src="apps/files/appinfo/routes.php"> <InvalidScope occurrences="2"> <code>$this</code> @@ -1580,9 +1575,6 @@ </InvalidDocblock> </file> <file src="apps/files_sharing/lib/External/Scanner.php"> - <InvalidScalarArgument occurrences="1"> - <code>$recursive</code> - </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="1"> <code>$cacheData</code> </MoreSpecificImplementedParamType> @@ -1717,9 +1709,6 @@ </TooManyArguments> </file> <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php"> - <ParadoxicalCondition occurrences="1"> - <code>null</code> - </ParadoxicalCondition> <RedundantCondition occurrences="1"> <code>$trashFiles</code> </RedundantCondition> @@ -1977,9 +1966,6 @@ <InvalidArgument occurrences="1"> <code>$record</code> </InvalidArgument> - <InvalidArrayOffset occurrences="1"> - <code>[$attr => $result['values']]</code> - </InvalidArrayOffset> <InvalidReturnStatement occurrences="2"> <code>$uuid</code> <code>$values</code> @@ -2000,8 +1986,7 @@ <code>$limit === 0</code> <code>is_array($result)</code> </RedundantCondition> - <TypeDoesNotContainNull occurrences="2"> - <code>!$attribute === null</code> + <TypeDoesNotContainNull occurrences="1"> <code>is_null($findings)</code> </TypeDoesNotContainNull> <TypeDoesNotContainType occurrences="2"> @@ -2313,9 +2298,6 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> - <InvalidReturnType occurrences="1"> - <code>null|int</code> - </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> @@ -2334,9 +2316,6 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> - <InvalidReturnType occurrences="1"> - <code>null|int</code> - </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> @@ -2359,9 +2338,6 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> - <InvalidReturnType occurrences="1"> - <code>null|int</code> - </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> @@ -2943,14 +2919,6 @@ <code>bool|mixed</code> </LessSpecificImplementedReturnType> </file> - <file src="lib/private/Collaboration/Resources/Manager.php"> - <RedundantCondition occurrences="1"> - <code>$user instanceof IUser</code> - </RedundantCondition> - <TypeDoesNotContainType occurrences="1"> - <code>''</code> - </TypeDoesNotContainType> - </file> <file src="lib/private/Command/CallableJob.php"> <ParamNameMismatch occurrences="1"> <code>$serializedCallable</code> @@ -4136,10 +4104,6 @@ </file> <file src="lib/private/Notification/Manager.php"> <InvalidCatch occurrences="3"/> - <TypeDoesNotContainType occurrences="2"> - <code>!($notification instanceof INotification)</code> - <code>!($notification instanceof INotification)</code> - </TypeDoesNotContainType> </file> <file src="lib/private/Preview/BackgroundCleanupJob.php"> <InvalidReturnStatement occurrences="1"> @@ -4548,14 +4512,6 @@ <code>dispatch</code> </TooManyArguments> </file> - <file src="lib/private/TagManager.php"> - <InvalidNullableReturnType occurrences="1"> - <code>\OCP\ITags</code> - </InvalidNullableReturnType> - <NullableReturnStatement occurrences="1"> - <code>null</code> - </NullableReturnStatement> - </file> <file src="lib/private/Tags.php"> <InvalidArgument occurrences="1"> <code>[$this->user, $this->type, $chunk]</code> @@ -4854,9 +4810,6 @@ <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code> <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code> </InternalMethod> - <InvalidLiteralArgument occurrences="1"> - <code>\OCP\Constants::FILENAME_INVALID_CHARS</code> - </InvalidLiteralArgument> <InvalidReturnStatement occurrences="1"> <code>OC_Helper::computerFileSize($userQuota)</code> </InvalidReturnStatement> @@ -4867,8 +4820,7 @@ <code>$user</code> <code>OC_User::getUser()</code> </InvalidScalarArgument> - <RedundantCondition occurrences="2"> - <code>'off'</code> + <RedundantCondition occurrences="1"> <code>is_string($expected)</code> </RedundantCondition> <TypeDoesNotContainType occurrences="3"> |