Skip to content

Set writeAttribute return type #784

Set writeAttribute return type

Set writeAttribute return type #784

Triggered via pull request June 5, 2025 11:01
Status Failure
Total duration 21m 21s
Artifacts

php.yml

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

Annotations

11 errors
PHP CS Fixer
Process completed with exit code 8.
PHPUnit 7.2
Process completed with exit code 2.
PHP Static Analysis (7.3)
Process completed with exit code 1.
PHP Static Analysis (7.3): src/PhpWord/Shared/XMLWriter.php#L176
Parameter #1 $name (string) of method PhpOffice\PhpWord\Shared\XMLWriter::writeAttribute() is not compatible with parameter #1 $name (mixed) of method XMLWriter::writeAttribute().
PHP Static Analysis (7.4)
Process completed with exit code 1.
PHP Static Analysis (7.4): src/PhpWord/Shared/XMLWriter.php#L176
Parameter #1 $name (string) of method PhpOffice\PhpWord\Shared\XMLWriter::writeAttribute() is not contravariant with parameter #1 $name (mixed) of method XMLWriter::writeAttribute().
PHP Static Analysis (7.2)
Process completed with exit code 1.
PHP Static Analysis (7.2): src/PhpWord/Shared/XMLWriter.php#L176
Parameter #1 $name (string) of method PhpOffice\PhpWord\Shared\XMLWriter::writeAttribute() is not compatible with parameter #1 $name (mixed) of method XMLWriter::writeAttribute().
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.