Problem/Motivation

As title

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

jungle created an issue. See original summary.

dww’s picture

Title: Add a sniff to detect assertSame(*, count()) usages and replacing with assertCount() » Add a sniff to detect assert*(*, count()) usages and replacing with assertCount()

Per #3126965: [backport] Replace assert* involving count() and an integer literal with assertCount(), expanding scope to include assert(?:Same|Identical|Equal|Equals)\(.*count\(