Skip to content

[TASK] Use Property\Declaration in DeclarationBlockTest - #1514

Merged
JakeQZ merged 1 commit into
mainfrom
task/declarationblocktest-rule
Feb 13, 2026
Merged

[TASK] Use Property\Declaration in DeclarationBlockTest#1514
JakeQZ merged 1 commit into
mainfrom
task/declarationblocktest-rule

Conversation

@JakeQZ

@JakeQZ JakeQZ commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator

This replaces Rule\Rule, following #1508.

Also use getPropertyName() rather than getRule() which was deprecated in #1506.

This covers both the 'functional' and 'unit' flavours of the TestCase, and the trait that does most of the heavy lifting for the 'unit' flavour.

This replaces `Rule\Rule`, following #1508.

Also use `getPropertyName()` rather than `getRule()` which was deprecated in

This covers both the 'functional' and 'unit' flavours of the `TestCase`, and
the trait that does most of the heavy lifting for the 'unit' flavour.
@JakeQZ
JakeQZ requested a review from oliverklee February 13, 2026 19:11
@JakeQZ JakeQZ self-assigned this Feb 13, 2026
@JakeQZ JakeQZ added testing PRs/issues adding additional tests only, or primarily testing-focused developer-specific Issues that only affect maintainers, contributors, and people submitting PRs refactor For PRs that refactor code without changing functionality labels Feb 13, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 72.791%. remained the same
when pulling e860529 on task/declarationblocktest-rule
into 399afab on main.

@oliverklee oliverklee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The code looks good.

One line in the commit message got lost, though, as it probably started with #, marking it as a comment.

@JakeQZ

JakeQZ commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator Author

One line in the commit message got lost, though, as it probably started with #, marking it as a comment.

Ah, it was referencing a previous PR, #1506. Will correct in the merge by including an extra word from the previous line.

@JakeQZ
JakeQZ merged commit 567e390 into main Feb 13, 2026
24 checks passed
@JakeQZ
JakeQZ deleted the task/declarationblocktest-rule branch February 13, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer-specific Issues that only affect maintainers, contributors, and people submitting PRs refactor For PRs that refactor code without changing functionality testing PRs/issues adding additional tests only, or primarily testing-focused

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants