Skip to content

Commit a3752c5

Browse files
PHP-Parser 5 requires the ctype extension
1 parent 45ae5f4 commit a3752c5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: shivammathur/setup-php@v2
2727
with:
2828
php-version: 8.3
29-
extensions: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
29+
extensions: none, ctype, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
3030
coverage: none
3131
tools: none
3232

@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ${{ matrix.os }}
9595

9696
env:
97-
PHP_EXTENSIONS: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
97+
PHP_EXTENSIONS: none, ctype, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
9898
PHP_INI_VALUES: memory_limit=-1, assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
9999

100100
strategy:
@@ -140,7 +140,7 @@ jobs:
140140
runs-on: ${{ matrix.os }}
141141

142142
env:
143-
PHP_EXTENSIONS: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
143+
PHP_EXTENSIONS: none, ctype, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
144144
PHP_INI_VALUES: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
145145

146146
strategy:
@@ -195,7 +195,7 @@ jobs:
195195
with:
196196
php-version: 8.3
197197
coverage: pcov
198-
extensions: none, curl, dom, json, libxml, mbstring, phar, soap, tokenizer, xml, xmlwriter
198+
extensions: none, ctype, curl, dom, json, libxml, mbstring, phar, soap, tokenizer, xml, xmlwriter
199199
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
200200
tools: none
201201

@@ -263,7 +263,7 @@ jobs:
263263
runs-on: ubuntu-latest
264264

265265
env:
266-
PHP_EXTENSIONS: none, curl, dom, json, fileinfo, iconv, libxml, mbstring, phar, soap, tokenizer, xml, xmlwriter
266+
PHP_EXTENSIONS: none, ctype, curl, dom, json, fileinfo, iconv, libxml, mbstring, phar, soap, tokenizer, xml, xmlwriter
267267
PHP_INI_VALUES: assert.exception=1, phar.readonly=0, zend.assertions=1
268268

269269
strategy:

build/templates/binary-phar-autoload.php.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (version_compare('8.2.0', PHP_VERSION, '>')) {
3030
die(1);
3131
}
3232

33-
$requiredExtensions = ['dom', 'json', 'libxml', 'mbstring', 'tokenizer', 'xml', 'xmlwriter'];
33+
$requiredExtensions = ['ctype', 'dom', 'json', 'libxml', 'mbstring', 'tokenizer', 'xml', 'xmlwriter'];
3434

3535
$unavailableExtensions = array_filter(
3636
$requiredExtensions,

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (version_compare('8.2.0', PHP_VERSION, '>')) {
3838
die(1);
3939
}
4040

41-
$requiredExtensions = ['dom', 'json', 'libxml', 'mbstring', 'tokenizer', 'xml', 'xmlwriter'];
41+
$requiredExtensions = ['ctype', 'dom', 'json', 'libxml', 'mbstring', 'tokenizer', 'xml', 'xmlwriter'];
4242

4343
$unavailableExtensions = array_filter(
4444
$requiredExtensions,

0 commit comments

Comments
 (0)