-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
Hi all.
Pretty much everywhere in doc pages involving tests, calls made to assert*
methods are not static but use $this
.
Any reason not to use self::assert*
?
Example: https://symfony.com/doc/6.4/form/unit_testing.html
self::assertTrue($form->isSynchronized());
instead of
$this->assertTrue($form->isSynchronized());
?
Thanks!
Metadata
Metadata
Assignees
Labels
hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.