Skip to content

Fix dead sprintf call and unused Mailer properties found via PHPStan baseline audit - #83

Merged
MrKeiKun merged 1 commit into
HerculesWS:masterfrom
MrKeiKun:fix/phpstan-baseline-cleanup
Sep 25, 2026
Merged

MrKeiKun merged 1 commit into
HerculesWS:masterfrom
MrKeiKun:fix/phpstan-baseline-cleanup

Conversation

@MrKeiKun

Copy link
Copy Markdown
Collaborator

Found two real bugs hiding behind phpstan-baseline.neon suppressions: a sprintf() call in modules/item/add.php with no placeholders that silently drops its arguments, and dead instance-property assignments in Mailer.php that are never read. Fixed both and removed their now-unneeded baseline entries.

@MrKeiKun MrKeiKun self-assigned this Sep 22, 2026
@MrKeiKun
MrKeiKun force-pushed the fix/phpstan-baseline-cleanup branch from 2986dbd to 2864eac Compare September 25, 2026 11:29
@MrKeiKun
MrKeiKun merged commit 00a8179 into HerculesWS:master Sep 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant