Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@
"autoload": {
"psr-4": {"Utopia\\DNS\\": "src/DNS"}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/utopia-php/span"
}
],
"require": {
"php": ">=8.3",
"utopia-php/console": "0.0.*",
"utopia-php/span": "dev-main",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Version constraint conflicts with minimum stability.

Using "dev-main" for utopia-php/span conflicts with "minimum-stability": "stable" (Line 7). This may cause Composer to fail or require manual intervention during installation.

Recommended fixes:

  1. Use a tagged version with semantic versioning (e.g., "^1.0") once available, OR
  2. Add @dev flag: "utopia-php/span": "dev-main@dev", OR
  3. Change minimum-stability to "dev" with "prefer-stable": true
🔎 Proposed fix using @dev flag
-        "utopia-php/span": "dev-main",
+        "utopia-php/span": "dev-main@dev",
🤖 Prompt for AI Agents
In composer.json around line 31, the dependency "utopia-php/span": "dev-main"
conflicts with "minimum-stability": "stable" (line 7); update the constraint to
a stable tag if available (e.g., "^1.0"), or append the @dev stability flag
("dev-main@dev") to allow this dev branch, or change composer settings to
"minimum-stability": "dev" and add "prefer-stable": true; pick one of these
fixes and apply it consistently to resolve installation failures.

"utopia-php/telemetry": "*",
"utopia-php/validators": "0.*",
"utopia-php/domains": "0.9.*"
Expand Down
Loading