Skip to content

WIP: SVG Image Type Support #762

WIP: SVG Image Type Support

WIP: SVG Image Type Support #762

Triggered via pull request May 19, 2025 19:09
Status Failure
Total duration 21m 18s
Artifacts

php.yml

on: pull_request
PHP CS Fixer
36s
PHP CS Fixer
PHP Mess Detector
21s
PHP Mess Detector
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
Fit to window
Zoom out
Zoom in

Annotations

41 errors
PHP Static Analysis (8.1)
Process completed with exit code 1.
PHP Static Analysis (8.1): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (8.1): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (8.1): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.1): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.2)
Process completed with exit code 1.
PHP Static Analysis (8.2): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (8.2): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (8.2): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.2): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.3)
Process completed with exit code 1.
PHP Static Analysis (7.3): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (7.3): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (7.3): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.3): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.4)
Process completed with exit code 1.
PHP Static Analysis (8.4): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (8.4): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (8.4): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.4): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.4)
Process completed with exit code 1.
PHP Static Analysis (7.4): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (7.4): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (7.4): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.4): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP CS Fixer
Process completed with exit code 8.
PHP Static Analysis (8.0)
Process completed with exit code 1.
PHP Static Analysis (8.0): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (8.0): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (8.0): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.0): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.2)
Process completed with exit code 1.
PHP Static Analysis (7.2): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (7.2): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (7.2): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (7.2): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.3)
Process completed with exit code 1.
PHP Static Analysis (8.3): tests/bootstrap.php#L57
Function utf8decode() should return string but returns string|false.
PHP Static Analysis (8.3): src/PhpWord/Shared/Text.php#L153
Method PhpOffice\PhpWord\Shared\Text::toUTF8() should return string|null but returns string|false|null.
PHP Static Analysis (8.3): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L128
Parameter #1 $string of function substr expects string, string|false given.
PHP Static Analysis (8.3): src/PhpWord/Shared/Microsoft/PasswordEncoder.php#L125
Parameter #1 $string of function substr expects string, string|false given.