Skip to content

N°8692 - Notification - placeholder attributesubitem#778

Merged
accognet merged 7 commits intosupport/3.2from
feature/8692-placeholder_attributesubitem
Mar 23, 2026
Merged

N°8692 - Notification - placeholder attributesubitem#778
accognet merged 7 commits intosupport/3.2from
feature/8692-placeholder_attributesubitem

Conversation

@accognet
Copy link
Copy Markdown
Contributor

internal

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes formatting of StopWatch deadline subitems when the raw value is provided as a numeric string (notably for notification placeholders).

Changes:

  • Update AttributeStopWatch::GetSubItemAsPlainText() to accept numeric-string timestamps and cast them before calling date().
  • Add a PHPUnit test covering StopWatch deadline display formatting.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php Adds a unit test asserting the plain-text rendering of a StopWatch deadline subitem.
core/attributedef.class.inc.php Makes StopWatch “deadline” subitem plain-text rendering tolerant to numeric-string timestamps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php Outdated
Comment thread tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php Outdated
Comment thread tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php Outdated
Comment thread core/attributedef.class.inc.php
Comment thread core/attributedef.class.inc.php
@accognet accognet force-pushed the feature/8692-placeholder_attributesubitem branch from 14fdc00 to 058e0b2 Compare March 3, 2026 08:58
@Molkobain Molkobain requested a review from rquetiez March 6, 2026 13:00
Comment thread tests/php-unit-tests/unitary-tests/core/AttributeSubItemTest.php Outdated
Comment thread tests/php-unit-tests/unitary-tests/core/AttributeSubItemTest.php Outdated
Comment thread tests/php-unit-tests/unitary-tests/core/AttributeSubItemTest.php Outdated
accognet and others added 3 commits March 9, 2026 12:32
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com>
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com>
@accognet accognet requested a review from rquetiez March 9, 2026 12:43
@Molkobain
Copy link
Copy Markdown
Contributor

Let's goooo! 🙌

@accognet accognet merged commit c61b215 into support/3.2 Mar 23, 2026
@accognet accognet deleted the feature/8692-placeholder_attributesubitem branch March 23, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants