Skip to content

Commit e105ab7

Browse files
committed
Add php 8.4
1 parent 9122df2 commit e105ab7

File tree

3 files changed

+239
-3
lines changed

3 files changed

+239
-3
lines changed

.github/workflows/sylius-php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3" ]
28+
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
2929
distro: [ "alpine" ]
3030

3131
steps:
@@ -164,7 +164,7 @@ jobs:
164164
strategy:
165165
fail-fast: false
166166
matrix:
167-
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3" ]
167+
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
168168
distro: [ "alpine" ]
169169

170170
steps:
@@ -250,7 +250,7 @@ jobs:
250250
strategy:
251251
fail-fast: false
252252
matrix:
253-
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3" ]
253+
php: [ "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
254254
version: [ "alpine", "xdebug-alpine" ]
255255

256256
steps:

php/testdata/php8.4_amd64.yaml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
schemaVersion: "1.0.0"
2+
fileExistenceTests:
3+
- name: php-fpm executable
4+
path: '/usr/local/sbin/php-fpm'
5+
shouldExist: true
6+
- name: php executable
7+
path: '/usr/local/bin/php'
8+
shouldExist: true
9+
- name: 'Composer 755'
10+
path: '/usr/bin/composer'
11+
shouldExist: true
12+
permissions: '-rwxr-xr-x'
13+
- name: 'PHP Entry point 775'
14+
path: '/usr/local/bin/docker-php-entrypoint'
15+
shouldExist: true
16+
permissions: '-rwxrwxr-x'
17+
commandTests:
18+
- name: arch
19+
command: [ "uname", "-m" ]
20+
expectedOutput: [ "x86_64" ]
21+
- name: php-fpm version
22+
command: [ "/usr/local/sbin/php-fpm", "--version" ]
23+
expectedOutput: [ "PHP 8.4" ]
24+
- name: php-fpm-modules
25+
command: [ "/usr/local/sbin/php-fpm", "-m" ]
26+
expectedOutput:
27+
- 'apcu'
28+
- 'cgi-fcgi'
29+
- 'Core'
30+
- 'ctype'
31+
- 'curl'
32+
- 'date'
33+
- 'dom'
34+
- 'exif'
35+
- 'fileinfo'
36+
- 'filter'
37+
- 'gd'
38+
- 'hash'
39+
- 'iconv'
40+
- 'intl'
41+
- 'json'
42+
- 'libxml'
43+
- 'mbstring'
44+
- 'mysqlnd'
45+
- 'openssl'
46+
- 'pcre'
47+
- 'PDO'
48+
- 'pdo_mysql'
49+
- 'Phar'
50+
- 'posix'
51+
- 'readline'
52+
- 'Reflection'
53+
- 'session'
54+
- 'SimpleXML'
55+
- 'sodium'
56+
- 'SPL'
57+
- 'standard'
58+
- 'tokenizer'
59+
- 'xml'
60+
- 'xmlreader'
61+
- 'xmlwriter'
62+
- 'Zend OPcache'
63+
- 'zip'
64+
- 'zlib'
65+
- name: php-cli version
66+
command: [ "/usr/local/bin/php", "--version" ]
67+
expectedOutput: [ "PHP 8.4" ]
68+
- name: config-files
69+
command: [ "/usr/local/bin/php", "--ini" ]
70+
expectedOutput:
71+
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini'
72+
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini'
73+
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini'
74+
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini'
75+
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini'
76+
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini'
77+
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini'
78+
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini'
79+
- name: php-cli extensions
80+
command: [ "/usr/local/bin/php", "-m" ]
81+
expectedOutput:
82+
- 'apcu'
83+
- 'Core'
84+
- 'ctype'
85+
- 'curl'
86+
- 'date'
87+
- 'dom'
88+
- 'exif'
89+
- 'fileinfo'
90+
- 'filter'
91+
- 'gd'
92+
- 'hash'
93+
- 'iconv'
94+
- 'intl'
95+
- 'json'
96+
- 'libxml'
97+
- 'mbstring'
98+
- 'mysqlnd'
99+
- 'openssl'
100+
- 'pcre'
101+
- 'PDO'
102+
- 'pdo_mysql'
103+
- 'Phar'
104+
- 'posix'
105+
- 'readline'
106+
- 'Reflection'
107+
- 'session'
108+
- 'SimpleXML'
109+
- 'sodium'
110+
- 'SPL'
111+
- 'standard'
112+
- 'tokenizer'
113+
- 'xml'
114+
- 'xmlreader'
115+
- 'xmlwriter'
116+
- 'Zend OPcache'
117+
- 'zip'
118+
- 'zlib'

php/testdata/php8.4_arm64.yaml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
schemaVersion: "1.0.0"
2+
fileExistenceTests:
3+
- name: php-fpm executable
4+
path: '/usr/local/sbin/php-fpm'
5+
shouldExist: true
6+
- name: php executable
7+
path: '/usr/local/bin/php'
8+
shouldExist: true
9+
- name: 'Composer 755'
10+
path: '/usr/bin/composer'
11+
shouldExist: true
12+
permissions: '-rwxr-xr-x'
13+
- name: 'PHP Entry point 775'
14+
path: '/usr/local/bin/docker-php-entrypoint'
15+
shouldExist: true
16+
permissions: '-rwxrwxr-x'
17+
commandTests:
18+
- name: arch
19+
command: [ "uname", "-m" ]
20+
expectedOutput: [ "aarch64" ]
21+
- name: php-fpm version
22+
command: [ "/usr/local/sbin/php-fpm", "--version" ]
23+
expectedOutput: [ "PHP 8.4" ]
24+
- name: php-fpm-modules
25+
command: [ "/usr/local/sbin/php-fpm", "-m" ]
26+
expectedOutput:
27+
- 'apcu'
28+
- 'cgi-fcgi'
29+
- 'Core'
30+
- 'ctype'
31+
- 'curl'
32+
- 'date'
33+
- 'dom'
34+
- 'exif'
35+
- 'fileinfo'
36+
- 'filter'
37+
- 'gd'
38+
- 'hash'
39+
- 'iconv'
40+
- 'intl'
41+
- 'json'
42+
- 'libxml'
43+
- 'mbstring'
44+
- 'mysqlnd'
45+
- 'openssl'
46+
- 'pcre'
47+
- 'PDO'
48+
- 'pdo_mysql'
49+
- 'Phar'
50+
- 'posix'
51+
- 'readline'
52+
- 'Reflection'
53+
- 'session'
54+
- 'SimpleXML'
55+
- 'sodium'
56+
- 'SPL'
57+
- 'standard'
58+
- 'tokenizer'
59+
- 'xml'
60+
- 'xmlreader'
61+
- 'xmlwriter'
62+
- 'Zend OPcache'
63+
- 'zip'
64+
- 'zlib'
65+
- name: php-cli version
66+
command: [ "/usr/local/bin/php", "--version" ]
67+
expectedOutput: [ "PHP 8.4" ]
68+
- name: config-files
69+
command: [ "/usr/local/bin/php", "--ini" ]
70+
expectedOutput:
71+
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini'
72+
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini'
73+
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini'
74+
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini'
75+
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini'
76+
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini'
77+
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini'
78+
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini'
79+
- name: php-cli extensions
80+
command: [ "/usr/local/bin/php", "-m" ]
81+
expectedOutput:
82+
- 'apcu'
83+
- 'Core'
84+
- 'ctype'
85+
- 'curl'
86+
- 'date'
87+
- 'dom'
88+
- 'exif'
89+
- 'fileinfo'
90+
- 'filter'
91+
- 'gd'
92+
- 'hash'
93+
- 'iconv'
94+
- 'intl'
95+
- 'json'
96+
- 'libxml'
97+
- 'mbstring'
98+
- 'mysqlnd'
99+
- 'openssl'
100+
- 'pcre'
101+
- 'PDO'
102+
- 'pdo_mysql'
103+
- 'Phar'
104+
- 'posix'
105+
- 'readline'
106+
- 'Reflection'
107+
- 'session'
108+
- 'SimpleXML'
109+
- 'sodium'
110+
- 'SPL'
111+
- 'standard'
112+
- 'tokenizer'
113+
- 'xml'
114+
- 'xmlreader'
115+
- 'xmlwriter'
116+
- 'Zend OPcache'
117+
- 'zip'
118+
- 'zlib'

0 commit comments

Comments
 (0)