1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/testing/php82-pecl-decimal/fix-test.patch
psykose f1cf385eb4 testing/php82-pecl-decimal: new aport
https://pecl.php.net/package/decimal
Correctly-rounded arbitrary precision decimal floating-point arithmetic in PHP 8.2 - PECL
2023-05-29 18:05:02 +02:00

11 lines
639 B
Diff

--- a/tests/php8/methods/__construct.phpt
+++ b/tests/php8/methods/__construct.phpt
@@ -136,6 +136,8 @@
C Decimal\Decimal::__construct() expected parameter 1 to be a string, integer, or decimal, float given
D Decimal\Decimal::__construct() expected parameter 1 to be a string, integer, or decimal, null given
E Decimal\Decimal::__construct(): Argument #2 ($precision) must be of type int, string given
+
+Deprecated: Decimal\Decimal::__construct(): Passing null to parameter #2 ($precision) of type int is deprecated in %s on line %d
F Decimal precision out of range
G Decimal precision out of range
H Decimal precision out of range