Skip to content
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

Merged
merged 2 commits into from Nov 11, 2018
Merged

Support rootUri #672

merged 2 commits into from Nov 11, 2018

Conversation

JJK96
Copy link
Contributor

@JJK96 JJK96 commented Sep 9, 2018

This pull request depends on felixfbecker/php-advanced-json-rpc#27 to ensure that the arguments do not shift.

src/LanguageServer.php Outdated Show resolved Hide resolved
src/LanguageServer.php Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 9, 2018

Codecov Report

Merging #672 into master will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@             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
Impacted Files Coverage Δ Complexity Δ
src/LanguageServer.php 77.87% <66.66%> (-0.31%) 39 <12> (+12)

{
if ($rootPath === null) {
$rootPath = \LanguageServer\uriToPath($rootUri);
Copy link
Owner

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()

@JJK96 JJK96 force-pushed the master branch 2 times, most recently from 5381b20 to 4535d0f Compare September 9, 2018 17:44
@felixfbecker felixfbecker changed the title Add functionality for rootUri Support rootUri Nov 11, 2018
@felixfbecker felixfbecker merged commit 680f430 into felixfbecker:master Nov 11, 2018
@felixfbecker
Copy link
Owner

🎉 This PR is included in version 5.4.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

None yet

2 participants