Skip to content

Commit 7bbba89

Browse files
authored
chore: initialize config.platform.php with PHP 8.1 (#100)
Set the `config.platform.php` key in `composer.json` to initialize with PHP version 8.1. This ensures Composer assumes the specified PHP version for the project's platform. Signed-off-by: Valentin Sickert <[email protected]>
1 parent 7d7e3c6 commit 7bbba89

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
"allow-plugins": {
6262
"pestphp/pest-plugin": true,
6363
"php-http/discovery": true
64+
},
65+
"platform": {
66+
"php": "8.1"
6467
}
6568
},
6669
"minimum-stability": "stable",

composer.lock

Lines changed: 4 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)