[1.x] fix(core, mentions): return null if content left empty in formatter #2682
phpstan.yml
on: pull_request
Matrix: run / phpstan
Matrix: run / test
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.
|