Skip to content

Commit

Permalink
Test PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Aug 10, 2017
1 parent f185f97 commit c482868
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Phug/ProfilerModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,9 @@ public function testEventVarDump()

return;
}
if (version_compare(PHP_VERSION, '7.2.0') >= 0) {
self::markTestSkipped('var_dump test disabled for PHP 7.2.0.');

if (version_compare(PHP_VERSION, '7.2.0-dev') >= 0) {
self::markTestSkipped('var_dump test disabled for PHP '.PHP_VERSION.'.');

return;
}
Expand Down

0 comments on commit c482868

Please sign in to comment.