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:
__ 2017-09-09 21:34:25 +02:00
parent f63b253f67
commit 006ba6d8c4
2 changed files with 2 additions and 2 deletions

View File

@ -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~

View File

@ -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