1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 14:31:06 +02:00
Commit Graph

816 Commits

Author SHA1 Message Date
Edgar R. Sandi
ebdbebee29 pull-request/2456:
increase test coverage in calendar extension
    consistent warnings in calendar extension
2017-04-08 11:37:10 +01:00
Remi Collet
53a6e89ab5 Merge branch 'PHP-7.1'
* PHP-7.1:
  relax more this test
2017-03-29 07:38:53 +02:00
Remi Collet
cec720857a relax more this test 2017-03-29 07:38:40 +02:00
Remi Collet
2c97dddc78 Merge branch 'PHP-7.1'
* PHP-7.1:
  relax test failing in fast computer
2017-03-29 07:01:27 +02:00
Remi Collet
d11211fb53 relax test failing in fast computer 2017-03-29 07:01:14 +02:00
Derick Rethans
650c2fa0b0 Merge branch 'PHP-7.1' 2017-03-27 18:01:38 +01:00
Derick Rethans
727b21c839 Merge branch 'PHP-7.0' into PHP-7.1 2017-03-27 18:01:30 +01:00
Derick Rethans
1f8fc0fb56 Forgot to update the output in the test too 2017-03-27 18:01:22 +01:00
Derick Rethans
f9a5c15126 Merge branch 'PHP-7.1' 2017-03-27 11:28:41 +01:00
Derick Rethans
f326cfc513 Merge branch 'PHP-7.0' into PHP-7.1 2017-03-27 11:28:35 +01:00
Derick Rethans
eb5d4bcd4f Fixed test for #33415 due to data fixes. 2017-03-27 11:28:16 +01:00
Derick Rethans
a187bc407b Merge branch 'PHP-7.1' 2017-03-24 11:39:38 +00:00
Derick Rethans
ee49d4b4be Added a test case to make sure microseconds work. 2017-03-24 11:39:32 +00:00
Nikita Popov
065b3700b6 Merge branch 'PHP-7.1' 2017-03-09 16:45:40 +01:00
Nikita Popov
6635639b75 Merge branch 'PHP-7.0' into PHP-7.1 2017-03-09 16:45:28 +01:00
mcq8
b224e74267 Fixed bug #72096 Swatch time value incorrect for dates before 1970 2017-03-09 16:44:02 +01:00
Derick Rethans
1aaf03432d Merge branch 'PHP-7.1' 2017-03-02 11:28:17 +00:00
Derick Rethans
a7ff583e7e Merge branch 'PHP-7.0' into PHP-7.1 2017-03-02 11:28:09 +00:00
Derick Rethans
cf60f26da6 Fixed tests after tzdb removed abbreviations 2017-03-02 11:28:02 +00:00
Derick Rethans
61e9b7354f Make sure we anchor this test to February 2017-03-02 11:27:44 +00:00
Nikita Popov
5cdfa46d3f Merge branch 'PHP-7.1' 2017-03-02 12:14:00 +01:00
Nikita Popov
bc1807dbe2 Merge branch 'PHP-7.0' into PHP-7.1 2017-03-02 12:13:38 +01:00
Mitch Hagstrand
29333550d2 Fix bug73858.phpt to work in months without 31 days
Used hardcoded months in bug73858.phpt rather than the current and previous
month.
2017-03-02 12:13:06 +01:00
Derick Rethans
5dc825889d Merge branch 'PHP-7.1' 2017-02-12 20:19:10 +00:00
Derick Rethans
d28df113d5 Merge branch 'PHP-7.0' into PHP-7.1 2017-02-12 20:19:02 +00:00
Derick Rethans
f0519f4837 Upgrade timelib to 2017.01
This fixes:

- Fixed bug #72719 (Relative datetime format ignores weekday on sundays only).
- Fixed bug #73294 (DateTime wrong when date string is negative).
- Fixed bug #73489 (wrong timestamp when call setTimeZone multi times with UTC
  offset).
- Fixed bug #73858 (first/last day of' flag is not being reset).
- Fixed bug #73942 ($date->modify('Friday this week') doesn't return a Friday
  if $date is a Sunday).
- Fixed bug #74057 (wrong day when using "this week" in strtotime).
2017-02-12 20:17:01 +00:00
Joe Watkins
797de51bf1 Merge branch 'PHP-7.1'
* PHP-7.1:
  Add test ini_set with invalid time zone
2017-01-16 04:13:44 +00:00
Joe Watkins
d11bed5909 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  Add test ini_set with invalid time zone
2017-01-16 04:13:26 +00:00
Niklas Keller
cc9893eb44 Add test ini_set with invalid time zone
Wasn't covered before according to gcov.php.net.
2017-01-16 04:13:01 +00:00
Nikita Popov
1283ea4665 Merge branch 'PHP-7.1' 2017-01-01 12:17:01 +01:00
Nikita Popov
8467c5c9bf Fix year dependent test 2017-01-01 12:15:52 +01:00
Nikita Popov
5af586bec5 Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
Craig Duncan
c31396f85e Use UTC instead of unavailable timezone in test 2016-11-22 19:29:49 +01:00
Dmitry Stogov
558166bd41 Merge branch 'PHP-7.1'
* PHP-7.1:
  Fixed test
2016-11-17 13:44:08 +03:00
Dmitry Stogov
c8dc23e9ba Fixed test 2016-11-17 13:43:45 +03:00
Craig Duncan
c1001d22d2 Add expectations for invalid count() warnings 2016-11-17 09:33:04 +00:00
Joe Watkins
77efe76bf7 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  news entry for #1787
  move declaration of vars to top
  add test for #69587
  fix bug #69587 DateInterval properties and isset
2016-11-13 05:34:11 +00:00
jhdxr
9ad2083773 add test for #69587 2016-11-13 05:32:24 +00:00
Joe Watkins
d1910f66e5 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  added a test for date_interval_format function
  Merge branch 'pull-request/2198'
2016-11-12 09:59:24 +00:00
Jean Carlo Machado
f578ce3a13 added a test for date_interval_format function 2016-11-12 09:57:50 +00:00
Derick Rethans
1d1a7feecf - Fixed bug #73426: createFromFormat with 'z' format char results in incorrect time. 2016-10-31 10:43:33 +00:00
Remi Collet
0820c94382 also fix 32bits test for microsecond 2016-10-17 15:07:56 +02:00
Anatol Belski
06e7c9983a fix test
(cherry picked from commit fa9370db03)
2016-10-14 01:44:45 +02:00
Stanislav Malyshev
c4254588a9 Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
(cherry picked from commit 1b29e4488e)
2016-10-14 01:36:38 +02:00
Stanislav Malyshev
1bdb30a429 Merge branch 'PHP-7.0.12' into PHP-7.0
* PHP-7.0.12:
  set versions and release date
  sync NEWS
  Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
  Fix for #73240 - Write out of bounds at number_format
  Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
  set versions
  Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
2016-10-11 16:46:51 -07:00
Derick Rethans
e3271b1814 Fixed bug #64887 (Allow DateTime modification with subsecond items). 2016-10-07 13:40:06 -04:00
Derick Rethans
55626549d8 Improve support for microseconds with Date/Time
It fixes several bugs:

- Fixed bug #45554 (Inconsistent behavior of the u format char).
- Fixed bug #48225 (DateTime parser doesn't set microseconds for "now").
- Fixed bug #52514 (microseconds are missing in DateTime class).
- Fixed bug #52519 (microseconds in DateInterval are missing).
- Fixed bug #68506 (General DateTime improvments needed for microseconds to become useful).
- Fixed bug #73109 (timelib_meridian doesn't parse dots correctly).
- Fixed bug #73247 (DateTime constructor does not initialise microseconds property).

It also updates timelib to 2016.04, and updates a data mapping file, which
causes changes to the volatile abbreviations tests.
2016-10-05 15:03:06 -04:00
Derick Rethans
e63443d825 Merge branch 'PHP-7.0' into PHP-7.1 2016-09-30 20:50:00 +01:00
Derick Rethans
6ad288ee23 Merge branch 'PHP-5.6' into PHP-7.0 2016-09-30 20:49:53 +01:00
Derick Rethans
c0219b323e Fixed tests due to changes in underlaying data 2016-09-30 20:49:44 +01:00