Skip to content

Commit 31b37c8

Browse files
committed
Add ext-sodium for composer-require-checker
1 parent 8778ff3 commit 31b37c8

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/php.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
uses: shivammathur/setup-php@v2
5454
with:
5555
php-version: ${{ matrix.php-versions }}
56-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre,\
57+
sodium, spl, xml
5758
tools: composer
5859
ini-values: error_reporting=E_ALL
5960
coverage: pcov
@@ -115,7 +116,8 @@ jobs:
115116
uses: shivammathur/setup-php@v2
116117
with:
117118
php-version: ${{ matrix.php-versions }}
118-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml, zip
119+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre,\
120+
sodium, spl, xml, zip
119121
tools: composer
120122
ini-values: error_reporting=E_ALL
121123
coverage: none
@@ -163,7 +165,8 @@ jobs:
163165
# Should be the higest supported version, so we can use the newest tools
164166
php-version: '8.5'
165167
tools: composer, composer-require-checker, composer-unused
166-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
168+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre,\
169+
sodium, spl, xml
167170

168171
- name: Setup problem matchers for PHP
169172
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -215,7 +218,8 @@ jobs:
215218
with:
216219
# Should be the lowest supported version
217220
php-version: '8.3'
218-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
221+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre,\
222+
sodium, spl, xml
219223
tools: composer
220224
coverage: none
221225

0 commit comments

Comments
 (0)