Update phpstan/phpstan requirement from ^0.12.88 || ^1.0.0 to ^0.12.8… #662
Annotations
10 errors
Run phpstan:
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
Run phpstan:
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
Run phpstan:
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
Run phpstan:
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
Run phpstan:
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
Run phpstan:
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
Run phpstan:
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
Run phpstan:
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
Run phpstan:
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
Run phpstan:
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
Loading