Skip to content

MIME: Introduce MIME type parser #10099

MIME: Introduce MIME type parser

MIME: Introduce MIME type parser #10099

Triggered via pull request September 18, 2026 10:33
Status Success
Total duration 1m 20s
Artifacts –

phpstan-static-analysis.yml

on: pull_request
PHP static analysis  /  Run PHP static analysis
1m 16s
PHP static analysis / Run PHP static analysis
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
PHP static analysis / Run PHP static analysis: src/wp-includes/class-wp-mime-sniffer.php#L819
Method WP_Mime_Sniffer::get_indicated_charset() should return string|null but returns bool.
PHP static analysis / Run PHP static analysis: src/wp-includes/class-wp-mime-sniffer.php#L116
Static property WP_Mime_Sniffer::$last_error is never read, only written.