Skip to content

chore: update utopia-php/servers from 0.2 to 0.3#50

Merged
loks0n merged 1 commit intomasterfrom
chore-update-servers-0.3
Mar 13, 2026
Merged

chore: update utopia-php/servers from 0.2 to 0.3#50
loks0n merged 1 commit intomasterfrom
chore-update-servers-0.3

Conversation

@ChiragAgg5k
Copy link
Member

Summary

  • Update utopia-php/servers dependency from 0.2.* to 0.3.* (which pulls in utopia-php/di 0.3.1 and utopia-php/validators 0.2.0)
  • Remove usage of the now-deleted Utopia\DI\Dependency class, replacing it with direct Container::set(string $id, callable $factory, array $dependencies) calls
  • Update CLI::setResource() signature from setResource(Dependency $dependency) to setResource(string $name, callable $callback, array $dependencies = [])

Test plan

  • All 16 existing PHPUnit tests pass (no test changes beyond adapting to the new API)

Adapt to breaking changes in utopia-php/di 0.3 which removes
the Dependency class in favor of Container::set(string $id,
callable $factory, array $dependencies).
@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Warning

Rate limit exceeded

@ChiragAgg5k has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 34 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a00b97ea-4b9a-40b0-bcc1-533f4d112434

📥 Commits

Reviewing files that changed from the base of the PR and between a7ac387 and 12aa7c0.

⛔ Files ignored due to path filters (1)
  • composer.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • composer.json
  • src/CLI/CLI.php
  • tests/CLI/CLITest.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-update-servers-0.3
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@loks0n loks0n merged commit 4efef26 into master Mar 13, 2026
7 checks passed
@ChiragAgg5k ChiragAgg5k deleted the chore-update-servers-0.3 branch March 15, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants