Skip to content

Type hints for Safe\preg_match, fixes #40 #29

Type hints for Safe\preg_match, fixes #40

Type hints for Safe\preg_match, fixes #40 #29

Triggered via pull request February 9, 2025 19:50
@shishshish
opened #43
pr43
Status Failure
Total duration 25s
Artifacts

tests.yaml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

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.