Adapted from v1.6.1 from: From 14c9472c2ba0c8fdd5d99dc634f4db976d51237f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Jul 2016 18:37:10 +0200 Subject: [PATCH] Fix #291 failed tests with lestest PHP Since 5.6.24, 7.0.9, 7.1.0beta1, negative timestamps are valid. --- tests/Constraints/FormatTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Constraints/FormatTest.php b/tests/Constraints/FormatTest.php index f604c08..3ffe5b1 100644 --- a/tests/JsonSchema/Tests/Constraints/FormatTest.php +++ b/tests/JsonSchema/Tests/Constraints/FormatTest.php @@ -141,7 +141,6 @@ class FormatTest extends BaseTestCase array('1999-01-11T00:00:00+100', 'date-time'), array('1999-01-11T00:00:00+1:00', 'date-time'), - array('-1', 'utc-millisec'), array(PHP_INT_MAX, 'utc-millisec'), array('grey', 'color'),