[ticket/10716] Only lint on php 5.3+.

PHPBB3-10716
This commit is contained in:
Oleg Pudeyev 2012-12-04 13:58:14 -05:00
parent af2887f3a7
commit 4133fae99e

View file

@ -11,6 +11,11 @@ class phpbb_lint_test extends phpbb_test_case
{
public function test_lint()
{
if (version_compare(PHP_VERSION, '5.3.0', '<'))
{
$this->markTestSkipped('phpBB uses PHP 5.3 syntax in some files, linting on PHP < 5.3 will fail');
}
$root = dirname(__FILE__) . '/..';
$this->check($root);
}