mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Find composer.json when searching for psalm (#3979)
* Look for nearest composer.json before .git * Add test for projects with composer.json
This commit is contained in:
committed by
GitHub
parent
01fdd8d66b
commit
31dc6a61a0
@@ -36,3 +36,8 @@ Execute(User provided options should be used):
|
||||
AssertLinter 'psalm',
|
||||
\ ale#Escape('psalm')
|
||||
\ . ' --language-server --my-user-provided-option my-value'
|
||||
|
||||
Execute(The project path should be correct for composer.json file):
|
||||
call ale#test#SetFilename('../test-files/php/with-composer/test.php')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/php/with-composer')
|
||||
|
||||
Reference in New Issue
Block a user