RTF Writer: Border - Improved and Prepared for Future Implementations #1155
php.yml
on: pull_request
PHP CS Fixer
34s
PHP Mess Detector
20s
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
Annotations
82 errors
PHP CS Fixer
Process completed with exit code 8.
|
PHP Static Analysis (8.1):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.1):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.1):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.1):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.1):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.1):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.1):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
PHP Static Analysis (8.1):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
PHP Static Analysis (8.1):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHP Static Analysis (8.0):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.0):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.0):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.0):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.0):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.0):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.0):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
PHP Static Analysis (8.0):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
PHP Static Analysis (8.0):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHP Static Analysis (7.3)
Process completed with exit code 1.
|
PHP Static Analysis (7.3):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L64
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSpaces().
|
PHP Static Analysis (7.3):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L63
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setStyles().
|
PHP Static Analysis (7.3):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L62
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSizes().
|
PHP Static Analysis (7.3):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L61
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setColors().
|
PHP Static Analysis (7.3):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L60
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSizes().
|
PHP Static Analysis (7.3):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.4):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.4):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.4):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.4):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
PHP Static Analysis (8.4):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
PHP Static Analysis (8.4):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L61
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setColors().
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L60
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSizes().
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (7.4):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (7.4):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (7.4):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHP Static Analysis (7.2)
Process completed with exit code 1.
|
PHP Static Analysis (7.2):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L64
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSpaces().
|
PHP Static Analysis (7.2):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L63
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setStyles().
|
PHP Static Analysis (7.2):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L62
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSizes().
|
PHP Static Analysis (7.2):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L61
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setColors().
|
PHP Static Analysis (7.2):
tests/PhpWordTests/Writer/RTF/StyleTest.php#L60
Call to an undefined method PhpOffice\PhpWord\Writer\RTF\Style\Border::setSizes().
|
PHP Static Analysis (7.2):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHPUnit 8.1
Process completed with exit code 2.
|
PHPUnit 7.4
Process completed with exit code 2.
|
PHPUnit 7.2
Process completed with exit code 2.
|
PHP Static Analysis (8.2):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.2):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.2):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.2):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.2):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.2):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.2):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
PHP Static Analysis (8.2):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
PHP Static Analysis (8.2):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHP Static Analysis (8.3):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.3):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.3):
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.3):
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.3):
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
PHP Static Analysis (8.3):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
PHP Static Analysis (8.3):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
PHP Static Analysis (8.3):
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
PHP Static Analysis (8.3):
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
PHPUnit 8.0
Process completed with exit code 2.
|
PHPUnit 7.1
Process completed with exit code 2.
|
PHPUnit 8.2
Process completed with exit code 2.
|
PHPUnit 7.3
Process completed with exit code 2.
|