Fixed PHPStan errors #797
php.yml
on: push
PHP CS Fixer
32s
PHP Mess Detector
22s
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
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.
|