Skip to content

Commit 024f391

Browse files
committed
fix(php-scoper): make it php 8.4 compatible
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 6fdc89b commit 024f391

2 files changed

Lines changed: 145 additions & 9 deletions

File tree

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
{
2-
"require": {
3-
"humbug/php-scoper": "^0.18.7"
4-
},
5-
"config": {
6-
"platform": {
7-
"php": "8.1"
8-
}
9-
}
2+
"require": {
3+
"humbug/php-scoper": "^0.18.7",
4+
"cweagans/composer-patches": "^2.0"
5+
},
6+
"config": {
7+
"platform": {
8+
"php": "8.1"
9+
},
10+
"allow-plugins": {
11+
"cweagans/composer-patches": true
12+
}
13+
},
14+
"extra": {
15+
"patches": {
16+
"thecodingmachine/safe": {
17+
"PHP 8.4 compatibility, patch 1": "https://patch-diff.githubusercontent.com/raw/thecodingmachine/safe/pull/464.patch",
18+
"PHP 8.4 compatibility, patch 2": "https://patch-diff.githubusercontent.com/raw/thecodingmachine/safe/pull/466.patch",
19+
"PHP 8.4 compatibility, patch 3": "https://github.com/blizzz/safe/commit/6eeee2a20ffb2be3456ae8615b227c78e1ca8a20.patch"
20+
}
21+
}
22+
}
1023
}

‎vendor-bin/php-scoper/composer.lock‎

Lines changed: 124 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)