Skip to content

Fixed PHPStan errors #797

Fixed PHPStan errors

Fixed PHPStan errors #797

Status Failure
Total duration 21m 38s
Artifacts

php.yml

on: push
PHP CS Fixer
32s
PHP CS Fixer
PHP Mess Detector
22s
PHP Mess Detector
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
Fit to window
Zoom out
Zoom in

Annotations

18 errors
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#L62
Call to function method_exists() with 'PHPUnit\\Framework\\TestCase' and 'setOutputCallback' will always evaluate to true.
PHP Static Analysis (8.0): tests/PhpWordTests/Writer/Word2007/Part/DocumentTest.php#L413
Call to function method_exists() with 'PhpOffice\\PhpWordTests\\Writer\\Word2007\\Part\\DocumentTest' and 'assertRegExp' will always evaluate to true.
PHP Static Analysis (7.3)
Process completed with exit code 1.
PHP Static Analysis (7.3): src/PhpWord/Writer/ODText/Part/Content.php#L110
Cannot call method getText() on class-string|object.
PHP Static Analysis (7.4)
Process completed with exit code 1.
PHP Static Analysis (7.4): tests/bootstrap.php#L62
Call to function method_exists() with 'PHPUnit\\Framework\\TestCase' and 'setOutputCallback' will always evaluate to true.
PHP Static Analysis (7.4): tests/PhpWordTests/Writer/Word2007/Part/DocumentTest.php#L413
Call to function method_exists() with 'PhpOffice\\PhpWordTests\\Writer\\Word2007\\Part\\DocumentTest' and 'assertRegExp' will always evaluate to true.
PHP Static Analysis (7.2)
Process completed with exit code 1.
PHP Static Analysis (7.2): src/PhpWord/Writer/ODText/Part/Content.php#L110
Cannot call method getText() on class-string|object.
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 8.1
Process completed with exit code 2.
PHPUnit 7.2
Process completed with exit code 2.
PHPUnit 8.2
Process completed with exit code 2.
PHPUnit 8.0
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.