PHPStan - require version 0.8.5 or higher
Version number is then correctly displayed by executables from composer. https://github.com/phpstan/phpstan/issues/160#issuecomment-322040877
This commit is contained in:
parent
f63b253f67
commit
006ba6d8c4
@ -4751,7 +4751,7 @@ See the project's page iat GitHub for details:
|
||||
|
||||
https://github.com/phpstan/phpstan
|
||||
|
||||
Syntastic supports "PHPStan" versions 0.7 and later.
|
||||
Syntastic supports "PHPStan" versions 0.8.5 and later.
|
||||
|
||||
Checker options~
|
||||
|
||||
|
@ -22,7 +22,7 @@ function! SyntaxCheckers_php_phpstan_IsAvailable() dict
|
||||
if !executable(self.getExec())
|
||||
return 0
|
||||
endif
|
||||
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 7])
|
||||
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 8, 5])
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_php_phpstan_GetLocList() dict
|
||||
|
Loading…
Reference in New Issue
Block a user