Skip to content

Fix remaining type errors across misc files - #5726

Merged
GlazerMann merged 1 commit into
ms609:masterfrom
redalert2fan:fix/misc-type-errors
Aug 8, 2026
Merged

Fix remaining type errors across misc files#5726
GlazerMann merged 1 commit into
ms609:masterfrom
redalert2fan:fix/misc-type-errors

Conversation

@redalert2fan

Copy link
Copy Markdown
Contributor

gadgetapi: cast POST summary/text to string (is_string check already guards). big_jobs: guard fopen() false before fclose(). bot_curl: type the user agent as non-empty-string for the curl stub. setup: guard ob_get_contents() false before mb_trim. Resolves the 4 remaining PHPStan level 7 errors.

gadgetapi: cast POST summary/text to string (is_string check already
guards). big_jobs: guard fopen() false before fclose(). bot_curl: type
the user agent as non-empty-string for the curl stub. setup: guard
ob_get_contents() false before mb_trim. Resolves the 4 remaining PHPStan
level 7 errors not covered by open PRs.
@GlazerMann
GlazerMann merged commit 1a3351a into ms609:master Aug 8, 2026
21 checks passed
@redalert2fan
redalert2fan deleted the fix/misc-type-errors branch August 8, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants