So my IDE (PHPStorm) complains about $this->assertCount()
being dynamic instead of static which would give me static::assertCount()
.
Is there any benefit to calling assert methods as static instead of dynamic? What is the best practice here? There's no performance gain from what I've seen in a relatively small test suite and using sqlite in memory.
Aucun commentaire:
Enregistrer un commentaire