Skip to content

Commit 5c294a6

Browse files
committed
add deepclone extension
1 parent 6a2ad46 commit 5c294a6

4 files changed

Lines changed: 8 additions & 90 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ jobs:
2626
with:
2727
coverage: "none"
2828
php-version: "${{ matrix.php-version }}"
29-
ini-values: memory_limit=-1, opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
29+
ini-values: memory_limit=-1, opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M, extension=deepclone
30+
tools: pie
31+
32+
- name: "Install symfony/deepclone"
33+
run: |
34+
sudo pie install symfony/deepclone
3035
3136
- name: "Checkout base"
3237
uses: actions/checkout@v6

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"psr/cache": "^2.0.0 || ^3.0.0",
2525
"psr/simple-cache": "^2.0.0 || ^3.0.0",
2626
"symfony/event-dispatcher": "^5.4.29 || ^6.4.0 || ^7.0.0 || ^8.0.0",
27-
"symfony/polyfill-deepclone": "^1.37",
2827
"symfony/type-info": "^7.3.0 || ^8.0.0"
2928
},
3029
"require-dev": {

composer.lock

Lines changed: 1 addition & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Middleware/SymfonyTransformMiddleware.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
use function array_key_exists;
1616
use function array_values;
17+
use function deepclone_hydrate;
1718
use function spl_object_id;
1819

1920
/** @experimental */

0 commit comments

Comments
 (0)