MantisBT: master 85e1aa2a

Author Committer Branch Timestamp Parent
dregad dregad master 2016-04-23 15:35 master e11cac7f
Changeset

Tokenizer: fix syntax check under PHP7

In PHP >= 7, eval() throws a ParseError which we can catch and rethrow
as an Exception. Failure to do so causes Travis builds to fail [1]

[1] https://travis-ci.org/mantisbt/mantisbt/jobs/125235617#L877

mod - core/classes/Tokenizer.class.php Diff File
mod - tests/Mantis/ConfigParserTest.php Diff File