Skip to content

Add safe wrapper for getimagesizefromstring #1347

Add safe wrapper for getimagesizefromstring

Add safe wrapper for getimagesizefromstring #1347

Triggered via pull request April 14, 2026 14:52
Status Failure
Total duration 1m 47s
Artifacts

continuous-integration.yml

on: pull_request
Fetch Definitions
23s
Fetch Definitions
Rector Tests
20s
Rector Tests
Matrix: Generated Tests
Matrix: Generator Tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors
Generated Tests (8.6)
Process completed with exit code 1.
Generated Tests (8.6): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.6): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Generated Tests (8.1)
Process completed with exit code 1.
Generated Tests (8.1): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.1): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Generated Tests (8.3)
Process completed with exit code 1.
Generated Tests (8.3): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.3): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Generated Tests (8.5)
Process completed with exit code 1.
Generated Tests (8.5): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.5): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Generated Tests (8.2)
Process completed with exit code 1.
Generated Tests (8.2): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.2): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Generated Tests (8.4)
Process completed with exit code 1.
Generated Tests (8.4): lib/special_cases.php#L48
Function Safe\getimagesizefromstring() should return array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels: int, bits: int} but returns array{0: int<0, max>, 1: int<0, max>, 2: int, 3: string, mime: string, channels?: int, bits?: int}.
Generated Tests (8.4): lib/special_cases.php#L41
Function Safe\getimagesizefromstring() has parameter $image_info with no value type specified in iterable type array.
Check Sync
Process completed with exit code 1.