Skip to content

Use self::assert* instead of $this->assert* in tests - #17

Merged
sylfabre merged 1 commit into
mainfrom
fix/self-assert
Mar 22, 2026
Merged

Use self::assert* instead of $this->assert* in tests#17
sylfabre merged 1 commit into
mainfrom
fix/self-assert

Conversation

@sylfabre

Copy link
Copy Markdown
Contributor

Summary

  • Replace $this->assert* with self::assert* in all test files, as recommended by Rector (static calls are preferred for PHPUnit assertions)

Test plan

  • All 62 tests pass locally
  • CI passes on highest and lowest builds

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sylfabre
sylfabre merged commit 51534b5 into main Mar 22, 2026
3 of 5 checks passed
@sylfabre
sylfabre deleted the fix/self-assert branch March 22, 2026 09:56
@sonarqubecloud

Copy link
Copy Markdown

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