Skip to content
Snippets Groups Projects
Unverified Commit 9b54a4ad authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #23791 from nextcloud/fix/noid/psalm-update-baseline

Do not commit updated composer dependencies in psalm baseline update
parents d86ea156 7410489e
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,8 @@ jobs: ...@@ -26,7 +26,8 @@ jobs:
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
- name: Reset composer.json and composer.lock - name: Reset composer.json and composer.lock
run: | run: |
git checkout -- composer.json composer.lock rm -rf lib/composer
git checkout -- composer.json composer.lock lib/composer
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
with: with:
......
...@@ -1713,7 +1713,6 @@ ...@@ -1713,7 +1713,6 @@
<file src="apps/files_sharing/lib/Controller/ShareController.php"> <file src="apps/files_sharing/lib/Controller/ShareController.php">
<InvalidArgument occurrences="2"> <InvalidArgument occurrences="2">
<code>$files_list</code> <code>$files_list</code>
<code>'Share is read-only'</code>
</InvalidArgument> </InvalidArgument>
<InvalidScalarArgument occurrences="3"> <InvalidScalarArgument occurrences="3">
<code>$freeSpace</code> <code>$freeSpace</code>
...@@ -2476,18 +2475,6 @@ ...@@ -2476,18 +2475,6 @@
<code>Resource</code> <code>Resource</code>
</UndefinedDocblockClass> </UndefinedDocblockClass>
</file> </file>
<file src="apps/user_ldap/lib/LDAPProviderFactory.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</InvalidReturnType>
<UndefinedDocblockClass occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/LogWrapper.php"> <file src="apps/user_ldap/lib/LogWrapper.php">
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>bool</code> <code>bool</code>
...@@ -3213,11 +3200,6 @@ ...@@ -3213,11 +3200,6 @@
<code>$default</code> <code>$default</code>
</MoreSpecificImplementedParamType> </MoreSpecificImplementedParamType>
</file> </file>
<file src="lib/private/AppFramework/Services/InitialState.php">
<ImplementedParamTypeMismatch occurrences="1">
<code>$closure</code>
</ImplementedParamTypeMismatch>
</file>
<file src="lib/private/Archive/TAR.php"> <file src="lib/private/Archive/TAR.php">
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
<code>false</code> <code>false</code>
...@@ -3342,21 +3324,12 @@ ...@@ -3342,21 +3324,12 @@
<ImplementedReturnTypeMismatch occurrences="1"> <ImplementedReturnTypeMismatch occurrences="1">
<code>Color</code> <code>Color</code>
</ImplementedReturnTypeMismatch> </ImplementedReturnTypeMismatch>
<ImplicitToStringCast occurrences="1">
<code>$avatar</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>string|boolean</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
<code>$finalPalette[$this-&gt;hashToInt($hash, $steps * 3)]</code> <code>$finalPalette[$this-&gt;hashToInt($hash, $steps * 3)]</code>
</InvalidReturnStatement> </InvalidReturnStatement>
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>Color</code> <code>Color</code>
</InvalidReturnType> </InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$image-&gt;data()</code>
</NullableReturnStatement>
</file> </file>
<file src="lib/private/Avatar/GuestAvatar.php"> <file src="lib/private/Avatar/GuestAvatar.php">
<ImplementedReturnTypeMismatch occurrences="1"> <ImplementedReturnTypeMismatch occurrences="1">
...@@ -5747,14 +5720,6 @@ ...@@ -5747,14 +5720,6 @@
<code>$this-&gt;resources</code> <code>$this-&gt;resources</code>
</InvalidPropertyAssignmentValue> </InvalidPropertyAssignmentValue>
</file> </file>
<file src="lib/public/AppFramework/Services/IInitialState.php">
<MismatchingDocblockParamType occurrences="1">
<code>Closure</code>
</MismatchingDocblockParamType>
<UndefinedDocblockClass occurrences="1">
<code>Closure</code>
</UndefinedDocblockClass>
</file>
<file src="lib/public/BackgroundJob/TimedJob.php"> <file src="lib/public/BackgroundJob/TimedJob.php">
<MoreSpecificImplementedParamType occurrences="1"> <MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code> <code>$jobList</code>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment