Skip to content

Commit cebb4a6

Browse files
committed
Update unrelated tests for param default value using const
1 parent a9700cf commit cebb4a6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Zend/tests/parameter_default_values/internal_declaration_error_const.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class MyDateTimeZone extends DateTimeZone
1010
}
1111
?>
1212
--EXPECTF--
13-
Fatal error: Declaration of MyDateTimeZone::getTransitions(): array|false must be compatible with DateTimeZone::getTransitions(int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|false in %s on line %d
13+
Fatal error: Declaration of MyDateTimeZone::getTransitions(): array|false must be compatible with DateTimeZone::getTransitions(int $timestampBegin = PHP_INT_MIN, int $timestampEnd = 2147483647): array|false in %s on line %d

ext/date/php_date_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/reflection/tests/internal_parameter_default_value/ReflectionParameter_getDefaultValueConstantName_Internal.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ NULL
4747
NULL
4848
----------
4949
string(11) "PHP_INT_MIN"
50-
string(11) "PHP_INT_MAX"
50+
NULL
5151
----------
5252
string(17) "DateTimeZone::ALL"
5353
NULL

0 commit comments

Comments
 (0)