Skip to content

Added support for PHP 8.4 #534

Added support for PHP 8.4

Added support for PHP 8.4 #534

Triggered via pull request January 7, 2025 15:17
@Progi1984Progi1984
synchronize #2660
php84
Status Failure
Total duration 19m 5s
Artifacts

php.yml

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

Annotations

32 errors and 29 warnings
PHP CS Fixer
Process completed with exit code 1.
PHP Static Analysis (7.1)
Process completed with exit code 1.
PHP Static Analysis (7.4): src/PhpWord/Element/AbstractContainer.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractContainer.php was not matched in reported errors.
PHP Static Analysis (7.4): src/PhpWord/Element/AbstractContainer.php#L149
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP Static Analysis (7.4): src/PhpWord/Element/AbstractElement.php#L1
Ignored error pattern #^Parameter \#1 \$string of function md5 expects string, int\<0, max\> given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractElement.php was not matched in reported errors.
PHP Static Analysis (7.4): src/PhpWord/Element/AbstractElement.php#L258
Parameter #1 $str of function md5 expects string, int<0, max> given.
PHP Static Analysis (7.4): src/PhpWord/Element/Image.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func expects callable\(\)\: mixed, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Image.php was not matched in reported errors.
PHP Static Analysis (7.4): src/PhpWord/Element/Image.php#L376
Parameter #1 $function of function call_user_func expects callable(): mixed, string given.
PHP Static Analysis (7.4): src/PhpWord/Element/Section.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Section.php was not matched in reported errors.
PHP Static Analysis (7.4): src/PhpWord/Element/Section.php#L200
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHP Static Analysis (7.4): src/PhpWord/IOFactory.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/IOFactory.php was not matched in reported errors.
PHP Static Analysis (7.4): src/PhpWord/IOFactory.php#L141
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP Static Analysis (7.2): src/PhpWord/Element/AbstractContainer.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractContainer.php was not matched in reported errors.
PHP Static Analysis (7.2): src/PhpWord/Element/AbstractContainer.php#L149
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP Static Analysis (7.2): src/PhpWord/Element/AbstractElement.php#L1
Ignored error pattern #^Parameter \#1 \$string of function md5 expects string, int\<0, max\> given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractElement.php was not matched in reported errors.
PHP Static Analysis (7.2): src/PhpWord/Element/AbstractElement.php#L258
Parameter #1 $str of function md5 expects string, int<0, max> given.
PHP Static Analysis (7.2): src/PhpWord/Element/Image.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func expects callable\(\)\: mixed, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Image.php was not matched in reported errors.
PHP Static Analysis (7.2): src/PhpWord/Element/Image.php#L376
Parameter #1 $function of function call_user_func expects callable(): mixed, string given.
PHP Static Analysis (7.2): src/PhpWord/Element/Section.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Section.php was not matched in reported errors.
PHP Static Analysis (7.2): src/PhpWord/Element/Section.php#L200
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHP Static Analysis (7.2): src/PhpWord/IOFactory.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/IOFactory.php was not matched in reported errors.
PHP Static Analysis (7.2): src/PhpWord/IOFactory.php#L141
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP Static Analysis (7.3): src/PhpWord/Element/AbstractContainer.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractContainer.php was not matched in reported errors.
PHP Static Analysis (7.3): src/PhpWord/Element/AbstractContainer.php#L149
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP Static Analysis (7.3): src/PhpWord/Element/AbstractElement.php#L1
Ignored error pattern #^Parameter \#1 \$string of function md5 expects string, int\<0, max\> given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractElement.php was not matched in reported errors.
PHP Static Analysis (7.3): src/PhpWord/Element/AbstractElement.php#L258
Parameter #1 $str of function md5 expects string, int<0, max> given.
PHP Static Analysis (7.3): src/PhpWord/Element/Image.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func expects callable\(\)\: mixed, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Image.php was not matched in reported errors.
PHP Static Analysis (7.3): src/PhpWord/Element/Image.php#L376
Parameter #1 $function of function call_user_func expects callable(): mixed, string given.
PHP Static Analysis (7.3): src/PhpWord/Element/Section.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Section.php was not matched in reported errors.
PHP Static Analysis (7.3): src/PhpWord/Element/Section.php#L200
Parameter #3 $length of function substr expects int, int<0, max>|false given.
PHP Static Analysis (7.3): src/PhpWord/IOFactory.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/IOFactory.php was not matched in reported errors.
PHP Static Analysis (7.3): src/PhpWord/IOFactory.php#L141
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHP CS Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (7.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Mess Detector
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (7.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (7.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Static Analysis (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (7.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (7.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (7.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 7.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 7.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check samples (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit 7.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636