From bb05f0e4eb50a13de34e776cbed30bc67a766f55 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 30 Oct 2020 10:48:01 +0100 Subject: [PATCH 1/2] Do not commit updated composer dependencies in psalm baseline update Signed-off-by: Morris Jobke --- .github/workflows/update-psalm-baseline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml index e1cb2772e2..ac0bc907af 100644 --- a/.github/workflows/update-psalm-baseline.yml +++ b/.github/workflows/update-psalm-baseline.yml @@ -26,7 +26,8 @@ jobs: run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline - name: Reset composer.json and composer.lock run: | - git checkout -- composer.json composer.lock + rm -rf lib/composer + git checkout -- composer.json composer.lock lib/composer - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: From 7410489e86d1d00f0d3bcae9f9994da5d9785bb1 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 30 Oct 2020 10:49:57 +0100 Subject: [PATCH 2/2] Update psalm baseline Signed-off-by: Morris Jobke --- build/psalm-baseline.xml | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 0d07bcf37f..e1e8c29184 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1713,7 +1713,6 @@ $files_list - 'Share is read-only' $freeSpace @@ -2476,18 +2475,6 @@ Resource - - - OCP\LDAP\ILDAPProvider - - - - OCP\LDAP\ILDAPProvider - - - OCP\LDAP\ILDAPProvider - - bool @@ -3213,11 +3200,6 @@ $default - - - $closure - - false @@ -3342,21 +3324,12 @@ Color - - $avatar - - - string|boolean - $finalPalette[$this->hashToInt($hash, $steps * 3)] Color - - $image->data() - @@ -5747,14 +5720,6 @@ $this->resources - - - Closure - - - Closure - - $jobList