Update phpstan/phpstan requirement from ^0.12.88 || ^1.0.0 to ^0.12.8… #662
php.yml
on: push
PHP CS Fixer
33s
PHP Mess Detector
21s
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
Annotations
60 errors
PHP Static Analysis (8.1):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (8.1):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (8.2):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (8.4):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (8.0):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (7.4):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/Field.php#L226
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/Field.php#L257
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/Field.php#L289
Instanceof between PhpOffice\PhpWord\Element\TextRun and PhpOffice\PhpWord\Element\TextRun will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/Image.php#L516
Strict comparison using !== between string and false will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/OLEObject.php#L75
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/OLEObject.php#L76
Offset 'extension' might not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/Section.php#L83
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Element/TOC.php#L70
Call to function is_array() with array will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Metadata/Protection.php#L198
Strict comparison using !== between string and null will always evaluate to true.
|
PHP Static Analysis (8.3):
src/PhpWord/Reader/ODText/Content.php#L190
Parameter #1 $nodes of method PhpOffice\PhpWord\Reader\ODText\Content::processNodes() expects DOMNodeList<DOMElement>, DOMNodeList<DOMNode> given.
|