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 uses: shivammathur/setup-php@master
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none coverage: none
- name: Lint - name: Lint
run: composer run lint run: composer run lint
@ -29,6 +30,7 @@ jobs:
uses: shivammathur/setup-php@master uses: shivammathur/setup-php@master
with: with:
php-version: 7.4 php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none coverage: none
tools: cs2pr tools: cs2pr
- name: Install dependencies - name: Install dependencies

View File

@ -41,7 +41,7 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} 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 tools: phpunit:8.5.2
coverage: none coverage: none

View File

@ -19,6 +19,7 @@ jobs:
uses: docker://vimeo/psalm-github-actions uses: docker://vimeo/psalm-github-actions
continue-on-error: true continue-on-error: true
with: with:
composer_ignore_platform_reqs: false
report_file: results.sarif report_file: results.sarif
- name: Upload Analysis results to GitHub - name: Upload Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1 uses: github/codeql-action/upload-sarif@v1

View File

@ -19,6 +19,7 @@ jobs:
uses: docker://vimeo/psalm-github-actions uses: docker://vimeo/psalm-github-actions
with: with:
security_analysis: true security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif report_file: results.sarif
- name: Upload Security Analysis results to GitHub - name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1 uses: github/codeql-action/upload-sarif@v1

View File

@ -17,6 +17,7 @@ jobs:
uses: shivammathur/setup-php@master uses: shivammathur/setup-php@master
with: with:
php-version: 7.4 php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none coverage: none
- name: Composer install - name: Composer install
run: composer i run: composer i
@ -42,6 +43,7 @@ jobs:
uses: shivammathur/setup-php@master uses: shivammathur/setup-php@master
with: with:
php-version: 7.4 php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none coverage: none
- name: Composer install - name: Composer install
run: composer i run: composer i

View File

@ -19,6 +19,7 @@ jobs:
uses: shivammathur/setup-php@master uses: shivammathur/setup-php@master
with: with:
php-version: 7.4 php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none coverage: none
- name: Composer install - name: Composer install
run: composer i run: composer i

View File

@ -16,8 +16,9 @@
"ext-libxml": "*", "ext-libxml": "*",
"ext-pdo": "*", "ext-pdo": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"ext-xmlreader": "*" "ext-xmlreader": "*",
}, "ext-zip": "*"
},
"require-dev": { "require-dev": {
"nextcloud/coding-standard": "^0.5.0", "nextcloud/coding-standard": "^0.5.0",
"vimeo/psalm": "^4.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", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "4970547e139d7ea77cd8b6d38c729084", "content-hash": "9e703ab133e8363e26a67dbd639a297c",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -3032,7 +3032,8 @@
"ext-libxml": "*", "ext-libxml": "*",
"ext-pdo": "*", "ext-pdo": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"ext-xmlreader": "*" "ext-xmlreader": "*",
"ext-zip": "*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.0.0" "plugin-api-version": "2.0.0"