[TASK] Clarify trait usage

Properly state that this is a trait, the class name does not suggest so ATM. Also suggest renaming it on import to avoid confusion.
This commit is contained in:
Mathias Brodala 2024-03-26 08:49:10 +01:00 committed by GitHub
parent 747a0fca3a
commit af6952d334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,11 +51,18 @@ Within testing framework
],
];
#. Add API
#. Import the :php:`Codappix\Typo3PhpDatasets\TestingFramework` trait
.. code-block:: php
use Codappix\Typo3PhpDatasets\TestingFramework;
use Codappix\Typo3PhpDatasets\TestingFramework as PhpDatasets;
final class MyTest extends FunctionalTestCase
{
use PhpDatasets;
// ...
}
#. Use API