Type hints for Safe\preg_match, fixes #40 #29
Annotations
16 errors
|
PHP 7.4
Process completed with exit code 1.
|
|
PHP 8.0
The job was canceled because "_7_4_highest" failed.
|
|
PHP 8.0:
tests/Type/Php/data/preg.php#L10
Function preg_match is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
|
PHP 8.0
Process completed with exit code 1.
|
|
PHP 8.3
The job was canceled because "_7_4_highest" failed.
|
|
PHP 8.3:
tests/Type/Php/data/preg.php#L10
Function preg_match is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
|
PHP 8.3
Process completed with exit code 1.
|
|
PHP 7.4 (lowest)
The job was canceled because "_7_4_highest" failed.
|
|
PHP 7.4 (lowest)
The operation was canceled.
|
|
PHP 8.2
The job was canceled because "_7_4_highest" failed.
|
|
PHP 8.2:
tests/Type/Php/data/preg.php#L10
Function preg_match is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
|
PHP 8.2
The operation was canceled.
|
|
PHP 8.1
The job was canceled because "_7_4_highest" failed.
|
|
PHP 8.4
The job was canceled because "_7_4_highest" failed.
|
|
PHP 8.4:
tests/Type/Php/data/preg.php#L10
Function preg_match is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
|
PHP 8.4
The operation was canceled.
|