Add ext-zip as platform dependency

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2020-12-23 20:03:08 +01:00
parent a312746238
commit ab3424ad44
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
8 changed files with 14 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

5
composer.lock generated
View File

@ -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"