-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support rootUri #672
Support rootUri #672
Conversation
Codecov Report
@@ Coverage Diff @@
## master #672 +/- ##
============================================
- Coverage 82.16% 82.14% -0.03%
- Complexity 921 933 +12
============================================
Files 44 44
Lines 2148 2151 +3
============================================
+ Hits 1765 1767 +2
- Misses 383 384 +1
|
src/LanguageServer.php
Outdated
{ | ||
if ($rootPath === null) { | ||
$rootPath = \LanguageServer\uriToPath($rootUri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are in the LanguageServer
namespace, so you shouldn't need to use a fully qualified function name. Just call uriToPath()
5381b20
to
4535d0f
Compare
🎉 This PR is included in version 5.4.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This pull request depends on felixfbecker/php-advanced-json-rpc#27 to ensure that the arguments do not shift.