Skip to content

Commit 3ccfef0

Browse files
authored
Merge pull request #31 from appwrite/feat-php-intl
Install PHP intl extension
2 parents 2292bae + 0b47f3b commit 3ccfef0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ RUN \
191191
docker-cli \
192192
libgomp \
193193
git \
194-
&& docker-php-ext-install sockets pdo_mysql pdo_pgsql \
194+
&& docker-php-ext-install sockets pdo_mysql pdo_pgsql intl \
195195
&& apk del .deps \
196196
&& rm -rf /var/cache/apk/*
197197

tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,8 @@ commandTests:
134134
- ".*brotli.*"
135135
- ".*lz4.*"
136136
- ".*snappy.*"
137+
- name: 'PHP intl'
138+
command: "php"
139+
args: ["-r", 'print(\Normalizer::FORM_D);']
140+
expectedOutput:
141+
- "4"

0 commit comments

Comments
 (0)