Skip to content

Commit 42ce870

Browse files
Merge branch '9.2' into 9.3
2 parents a85f012 + bb9ba42 commit 42ce870

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/assertions.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ The assertion methods are declared static and can be invoked
2020
from any context using ``PHPUnit\Framework\Assert::assertTrue()``,
2121
for instance, or using ``$this->assertTrue()`` or ``self::assertTrue()``,
2222
for instance, in a class that extends ``PHPUnit\Framework\TestCase``.
23-
24-
In fact, you can even use global function wrappers such as ``assertTrue()`` in
25-
any context (including classes that extend ``PHPUnit\Framework\TestCase``)
26-
when you (manually) include the :file:`src/Framework/Assert/Functions.php`
27-
sourcecode file that comes with PHPUnit.
23+
You can even use global function wrappers such as ``assertTrue()``.
2824

2925
A common question, especially from developers new to PHPUnit, is whether
3026
using ``$this->assertTrue()`` or ``self::assertTrue()``,

0 commit comments

Comments
 (0)