Merge remote-tracking branch 'artnez/php-force-display-errors'

Conflicts:
	syntax_checkers/php.vim
This commit is contained in:
Martin Grenfell 2012-02-27 15:18:39 +00:00
commit c97042a3fd

View File

@ -38,7 +38,7 @@ function! SyntaxCheckers_php_GetLocList()
let errors = []
let makeprg = "php -l -d display_errors=1 ".shellescape(expand('%'))
let makeprg = "php -l -d error_reporting=E_PARSE -d display_errors=1 ".shellescape(expand('%'))
let errorformat='%-GNo syntax errors detected in%.%#,PHP Parse error: %#syntax %trror\, %m in %f on line %l,PHP Fatal %trror: %m in %f on line %l,%-GErrors parsing %.%#,%-G\s%#,Parse error: %#syntax %trror\, %m in %f on line %l,Fatal %trror: %m in %f on line %l'
let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })