Skip to content

Commit 562fbf2

Browse files
authored
add "deepclone" extension (crazywhalecc#1094)
2 parents 6e354b4 + cbf1ed7 commit 562fbf2

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

config/ext.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
"qdbm"
7575
]
7676
},
77+
"deepclone": {
78+
"type": "external",
79+
"source": "deepclone",
80+
"arg-type": "enable"
81+
},
7782
"dio": {
7883
"support": {
7984
"BSD": "wip"

config/source.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@
8484
"path": "COPYING"
8585
}
8686
},
87+
"deepclone": {
88+
"type": "ghtagtar",
89+
"repo": "symfony/php-ext-deepclone",
90+
"path": "php-src/ext/deepclone",
91+
"license": {
92+
"type": "file",
93+
"path": "LICENSE"
94+
}
95+
},
8796
"dio": {
8897
"type": "url",
8998
"url": "https://pecl.php.net/get/dio",

src/globals/test-extensions.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
$test_os = [
2626
'macos-15-intel', // bin/spc for x86_64
2727
'macos-15', // bin/spc for arm64
28-
// 'ubuntu-latest', // bin/spc-alpine-docker for x86_64
28+
'ubuntu-latest', // bin/spc-alpine-docker for x86_64
2929
'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
30-
// 'ubuntu-24.04', // bin/spc for x86_64
30+
'ubuntu-24.04', // bin/spc for x86_64
3131
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
32-
// 'ubuntu-24.04-arm', // bin/spc for arm64
33-
// 'windows-2022', // .\bin\spc.ps1
34-
// 'windows-2025',
32+
'ubuntu-24.04-arm', // bin/spc for arm64
33+
'windows-2022', // .\bin\spc.ps1
34+
'windows-2025',
3535
];
3636

3737
// whether enable thread safe
@@ -50,8 +50,8 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'curl,swoole',
54-
'Windows' => 'intl',
53+
'Linux', 'Darwin' => 'deepclone',
54+
'Windows' => 'deepclone',
5555
};
5656

5757
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).

0 commit comments

Comments
 (0)