From ab3424ad448bcd4e5a10c286c3ab9b8b6e02d9c0 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 23 Dec 2020 20:03:08 +0100 Subject: [PATCH] Add ext-zip as platform dependency Signed-off-by: Christoph Wurst --- .github/workflows/lint.yml | 2 ++ .github/workflows/oci.yml | 2 +- .github/workflows/psalm-github.yml | 1 + .github/workflows/psalm-security.yml | 1 + .github/workflows/static-code-analysis.yml | 2 ++ .github/workflows/update-psalm-baseline.yml | 1 + composer.json | 5 +++-- composer.lock | 5 +++-- 8 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b4037759b3..8fdd294800 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,6 +15,7 @@ jobs: uses: shivammathur/setup-php@master with: php-version: ${{ matrix.php-versions }} + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none - name: Lint run: composer run lint @@ -29,6 +30,7 @@ jobs: uses: shivammathur/setup-php@master with: php-version: 7.4 + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none tools: cs2pr - name: Install dependencies diff --git a/.github/workflows/oci.yml b/.github/workflows/oci.yml index 31614b8f38..04d1dfdbab 100644 --- a/.github/workflows/oci.yml +++ b/.github/workflows/oci.yml @@ -41,7 +41,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, oci8 + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip tools: phpunit:8.5.2 coverage: none diff --git a/.github/workflows/psalm-github.yml b/.github/workflows/psalm-github.yml index ef35c39cd6..29e3f9db46 100644 --- a/.github/workflows/psalm-github.yml +++ b/.github/workflows/psalm-github.yml @@ -19,6 +19,7 @@ jobs: uses: docker://vimeo/psalm-github-actions continue-on-error: true with: + composer_ignore_platform_reqs: false report_file: results.sarif - name: Upload Analysis results to GitHub uses: github/codeql-action/upload-sarif@v1 diff --git a/.github/workflows/psalm-security.yml b/.github/workflows/psalm-security.yml index 0e19cda2d3..99f90681fe 100644 --- a/.github/workflows/psalm-security.yml +++ b/.github/workflows/psalm-security.yml @@ -19,6 +19,7 @@ jobs: uses: docker://vimeo/psalm-github-actions with: security_analysis: true + composer_ignore_platform_reqs: false report_file: results.sarif - name: Upload Security Analysis results to GitHub uses: github/codeql-action/upload-sarif@v1 diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 4057adbe8d..fb415b585e 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -17,6 +17,7 @@ jobs: uses: shivammathur/setup-php@master with: php-version: 7.4 + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none - name: Composer install run: composer i @@ -42,6 +43,7 @@ jobs: uses: shivammathur/setup-php@master with: php-version: 7.4 + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none - name: Composer install run: composer i diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml index ac0bc907af..c9ca2e85a6 100644 --- a/.github/workflows/update-psalm-baseline.yml +++ b/.github/workflows/update-psalm-baseline.yml @@ -19,6 +19,7 @@ jobs: uses: shivammathur/setup-php@master with: php-version: 7.4 + extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none - name: Composer install run: composer i diff --git a/composer.json b/composer.json index 405aaca088..51762b8409 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,9 @@ "ext-libxml": "*", "ext-pdo": "*", "ext-simplexml": "*", - "ext-xmlreader": "*" - }, + "ext-xmlreader": "*", + "ext-zip": "*" + }, "require-dev": { "nextcloud/coding-standard": "^0.5.0", "vimeo/psalm": "^4.0" diff --git a/composer.lock b/composer.lock index ef23a831f7..88c8b05fe0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4970547e139d7ea77cd8b6d38c729084", + "content-hash": "9e703ab133e8363e26a67dbd639a297c", "packages": [], "packages-dev": [ { @@ -3032,7 +3032,8 @@ "ext-libxml": "*", "ext-pdo": "*", "ext-simplexml": "*", - "ext-xmlreader": "*" + "ext-xmlreader": "*", + "ext-zip": "*" }, "platform-dev": [], "plugin-api-version": "2.0.0"