Skip to content

Commit ffc2d69

Browse files
authored
PHP 7.3 polyfill not necessary because PHP 7.4 is required (#1167)
1 parent 82a6397 commit ffc2d69

File tree

2 files changed

+27
-24
lines changed

2 files changed

+27
-24
lines changed

benchmark/composer.json

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
{
2-
"name": "mongodb/mongodb-benchmark",
3-
"type": "project",
4-
"repositories": [
5-
{
6-
"type": "path",
7-
"url": "../",
8-
"symlink": true
2+
"name": "mongodb/mongodb-benchmark",
3+
"type": "project",
4+
"repositories": [
5+
{
6+
"type": "path",
7+
"url": "../",
8+
"symlink": true
9+
}
10+
],
11+
"replace": {
12+
"symfony/polyfill-php80": "*",
13+
"symfony/polyfill-php81": "*"
14+
},
15+
"require": {
16+
"php": ">=8.1",
17+
"ext-pcntl": "*",
18+
"amphp/parallel-functions": "^1.1",
19+
"mongodb/mongodb": "@dev",
20+
"phpbench/phpbench": "^1.2"
21+
},
22+
"autoload": {
23+
"psr-4": {
24+
"MongoDB\\Benchmark\\": "src/"
25+
}
26+
},
27+
"scripts": {
28+
"benchmark": "phpbench run --report=aggregate"
929
}
10-
],
11-
"require": {
12-
"php": ">=8.1",
13-
"ext-pcntl": "*",
14-
"amphp/parallel-functions": "^1.1",
15-
"mongodb/mongodb": "@dev",
16-
"phpbench/phpbench": "^1.2"
17-
},
18-
"autoload": {
19-
"psr-4": {
20-
"MongoDB\\Benchmark\\": "src/"
21-
}
22-
},
23-
"scripts": {
24-
"benchmark": "phpbench run --report=aggregate"
25-
}
2630
}

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"ext-json": "*",
1616
"ext-mongodb": "^1.16.0",
1717
"jean85/pretty-package-versions": "^2.0.1",
18-
"symfony/polyfill-php73": "^1.27",
1918
"symfony/polyfill-php80": "^1.27",
2019
"symfony/polyfill-php81": "^1.27"
2120
},

0 commit comments

Comments
 (0)