diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-02-22 11:40:03 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-02-25 10:49:55 +0300 |
commit | f629d3a11b86f7e73d9d2f4ce4bc9794426e2875 (patch) | |
tree | 2a77eca925cf2db6636d87d754f73b2f3be60f0c /.github | |
parent | 3623cdb3454a70ff2352d3fac3d5731e5ed47e1b (diff) |
Fix Psalm checks against server master with PHP7.3
The OCP package doesn't allow for PHP7.3 but our composer.json
overwrites it so that we do not update dependencies to versions with too
restrictive minimum PHP versions (looking at you Dependabot). Hence we
ignore the platform dependency here. Once PHP7.3 got dropped we will
update composer.json and the platform requirement can be enforced again.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-analysis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index c8c2862c4..85e020579 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -25,7 +25,11 @@ jobs: coverage: none - name: Install dependencies run: composer i - - name: Install dependencies + - name: Install OCP package + if: ${{ matrix.ocp-version != 'dev-master' }} run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }} + - name: Install OCP package + if: ${{ matrix.ocp-version == 'dev-master' }} + run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }} --ignore-platform-reqs - name: Run coding standards check run: composer run psalm |