Skip to content

Commit 7c3f833

Browse files
Merge pull request #24835 from nextcloud/enhancement/composer-ext-zip
Add ext-zip as platform dependency
2 parents bf7a7b3 + ab3424a commit 7c3f833

File tree

8 files changed

+14
-5
lines changed

8 files changed

+14
-5
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: shivammathur/setup-php@master
1616
with:
1717
php-version: ${{ matrix.php-versions }}
18+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
1819
coverage: none
1920
- name: Lint
2021
run: composer run lint
@@ -29,6 +30,7 @@ jobs:
2930
uses: shivammathur/setup-php@master
3031
with:
3132
php-version: 7.4
33+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
3234
coverage: none
3335
tools: cs2pr
3436
- name: Install dependencies

.github/workflows/oci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: shivammathur/setup-php@v2
4242
with:
4343
php-version: ${{ matrix.php-versions }}
44-
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, oci8
44+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
4545
tools: phpunit:8.5.2
4646
coverage: none
4747

.github/workflows/psalm-github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: docker://vimeo/psalm-github-actions
2020
continue-on-error: true
2121
with:
22+
composer_ignore_platform_reqs: false
2223
report_file: results.sarif
2324
- name: Upload Analysis results to GitHub
2425
uses: github/codeql-action/upload-sarif@v1

.github/workflows/psalm-security.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: docker://vimeo/psalm-github-actions
2020
with:
2121
security_analysis: true
22+
composer_ignore_platform_reqs: false
2223
report_file: results.sarif
2324
- name: Upload Security Analysis results to GitHub
2425
uses: github/codeql-action/upload-sarif@v1

.github/workflows/static-code-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: shivammathur/setup-php@master
1818
with:
1919
php-version: 7.4
20+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
2021
coverage: none
2122
- name: Composer install
2223
run: composer i
@@ -42,6 +43,7 @@ jobs:
4243
uses: shivammathur/setup-php@master
4344
with:
4445
php-version: 7.4
46+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
4547
coverage: none
4648
- name: Composer install
4749
run: composer i

.github/workflows/update-psalm-baseline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: shivammathur/setup-php@master
2020
with:
2121
php-version: 7.4
22+
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
2223
coverage: none
2324
- name: Composer install
2425
run: composer i

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
"ext-libxml": "*",
1717
"ext-pdo": "*",
1818
"ext-simplexml": "*",
19-
"ext-xmlreader": "*"
20-
},
19+
"ext-xmlreader": "*",
20+
"ext-zip": "*"
21+
},
2122
"require-dev": {
2223
"nextcloud/coding-standard": "^0.5.0",
2324
"vimeo/psalm": "^4.0"

composer.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)