Skip to content

[1.x] fix(core, mentions): return null if content left empty in formatter #2682

[1.x] fix(core, mentions): return null if content left empty in formatter

[1.x] fix(core, mentions): return null if content left empty in formatter #2682

Triggered via pull request October 7, 2024 15:57
Status Failure
Total duration 2m 59s
Artifacts

phpstan.yml

on: pull_request
Matrix: run / phpstan
Matrix: run / test
Fit to window
Zoom out
Zoom in

Annotations

26 errors
run / PHPStan PHP 7.4: extensions/mentions/src/Formatter/UnparsePostMentions.php#L37
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 7.4: extensions/mentions/src/Formatter/UnparseTagMentions.php#L27
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 7.4: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 7.4
Process completed with exit code 1.
run / PHPStan PHP 8.3
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparsePostMentions.php#L37
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparseTagMentions.php#L27
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.3
The operation was canceled.
run / PHPStan PHP 8.1
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.1: extensions/mentions/src/Formatter/UnparsePostMentions.php#L37
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.1: extensions/mentions/src/Formatter/UnparseTagMentions.php#L27
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.1: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.1
The operation was canceled.
run / PHPStan PHP 8.2
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparsePostMentions.php#L37
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparseTagMentions.php#L27
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.2
The operation was canceled.
run / PHPStan PHP 8.0
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.0: extensions/mentions/src/Formatter/UnparsePostMentions.php#L37
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.0: extensions/mentions/src/Formatter/UnparseTagMentions.php#L27
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.0: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Strict comparison using === between string and null will always evaluate to false.
run / PHPStan PHP 8.0
The operation was canceled.
run / PHPStan PHP 7.3
The job was canceled because "_7_4" failed.
run / PHPStan PHP 7.3
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.