Visitar URL original
[ticket/17747] Declare localise_meridiem() protected static by bonelifer · Pull Request #7094 · phpbb/phpbb · GitHub
Skip to content

[ticket/17747] Declare localise_meridiem() protected static - #7094

Merged
marc1706 merged 1 commit into
phpbb:masterfrom
bonelifer:ticket/17747
Oct 20, 2026
Merged

marc1706 merged 1 commit into
phpbb:masterfrom
bonelifer:ticket/17747

Conversation

@bonelifer

@bonelifer bonelifer commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17747

The 3.3.x merge 2a2dad2 brought localise_meridiem() from PHPBB-15556 into master as static protected. Master's code sniffer rejects that order, so the "Phing sniff" step of "Tests / PHP 8.2 - none" fails on master and on every pull request against it. This declares the method protected static. Only the modifier order changes. 3.3.x is left as it is, since that order is normal there.

This is against master because only master's sniffer rejects it.

This also fixes the one failing check on #7093 (PHPBB-17746), which fails the same sniffer step for this reason, not because of its own changes.

Claude ran phing sniff (BUILD FINISHED, no errors) and the datetime tests on SQLite (28 pass).


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

🤖 Generated with Claude Code

Master's code sniffer requires the access modifier before static.

PHPBB-17747
@marc1706 marc1706 added this to the 4.0.0-b1 milestone Oct 20, 2026
@marc1706
marc1706 merged commit 8f67684 into phpbb:master Oct 20, 2026
28 checks passed
@bonelifer
bonelifer deleted the ticket/17747 branch October 20, 2026 18:23
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