Skip to content

Commit 44c290a

Browse files
fix: require system-metrics ^1.2 for ProcessStats::delta property
CI fails with --prefer-lowest because it installs system-metrics v1.0.0 which lacks the $delta property in ProcessStats. The delta property was added in v1.1.0. Updated constraint from ^1.0 to ^1.2 to ensure CI gets a compatible version even with --prefer-lowest. Fixes ProcessMetricsIntegrationTest and ChildProcessTrackingTest failures in CI.
1 parent 2be61f0 commit 44c290a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"require": {
2424
"php": "^8.3|^8.4",
25-
"gophpeek/system-metrics": "^1.0",
25+
"gophpeek/system-metrics": "^1.2",
2626
"illuminate/contracts": "^11.0|^12.0",
2727
"spatie/laravel-package-tools": "^1.16",
2828
"spatie/laravel-prometheus": "^1.3"

0 commit comments

Comments
 (0)