Skip to content

WIP: SVG Image Type Support #760

WIP: SVG Image Type Support

WIP: SVG Image Type Support #760

Triggered via pull request May 15, 2025 20:28
Status Failure
Total duration 21m 42s
Artifacts

php.yml

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

Annotations

64 errors
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 (8.2): src/PhpWord/Element/Image.php#L633
Parameter #1 $num of function round expects float|int, string given.
PHP Static Analysis (8.2): src/PhpWord/Element/Image.php#L632
Parameter #1 $num of function round expects float|int, string 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 (8.4): src/PhpWord/Element/Image.php#L633
Parameter #1 $num of function round expects float|int, string given.
PHP Static Analysis (8.4): src/PhpWord/Element/Image.php#L632
Parameter #1 $num of function round expects float|int, string 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 Static Analysis (7.4): src/PhpWord/Element/Image.php#L633
Parameter #1 $number of function round expects float, string given.
PHP Static Analysis (7.4): src/PhpWord/Element/Image.php#L632
Parameter #1 $number of function round expects float, string given.
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 (8.0): src/PhpWord/Element/Image.php#L633
Parameter #1 $num of function round expects float|int, string given.
PHP Static Analysis (8.0): src/PhpWord/Element/Image.php#L632
Parameter #1 $num of function round expects float|int, string given.
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.1): src/PhpWord/Element/Image.php#L633
Parameter #1 $num of function round expects float|int, string given.
PHP Static Analysis (8.1): src/PhpWord/Element/Image.php#L632
Parameter #1 $num of function round expects float|int, string 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 (7.2): src/PhpWord/Element/Image.php#L633
Parameter #1 $number of function round expects float, string given.
PHP Static Analysis (7.2): src/PhpWord/Element/Image.php#L632
Parameter #1 $number of function round expects float, string 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.
PHP Static Analysis (8.3): src/PhpWord/Element/Image.php#L633
Parameter #1 $num of function round expects float|int, string given.
PHP Static Analysis (8.3): src/PhpWord/Element/Image.php#L632
Parameter #1 $num of function round expects float|int, string given.
PHP CS Fixer
Process completed with exit code 8.
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 (7.3): src/PhpWord/Element/Image.php#L633
Parameter #1 $number of function round expects float, string given.
PHP Static Analysis (7.3): src/PhpWord/Element/Image.php#L632
Parameter #1 $number of function round expects float, string given.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 7.2
Process completed with exit code 2.
PHPUnit 8.1
Process completed with exit code 2.
PHPUnit 8.2
Process completed with exit code 2.
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 8.0
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.