How and where should I use the keyword “use” in php
I used use the keyword "use" generally above the class definition. Like this: <?php namespace suites\plugins\content\agpaypal; use \Codeception\Util\Fixtures; use \Codeception\Verify; use \Codeception\Specify; class agpaypalTest extends \Codeception\Test\Unit { protected $tester; ... But now I realised, that I have to put the line for the trait Specify into the class definition. Like this: <?php namespace suites\plugins\content\agpaypal; use \Codeception\Util\Fixtures; use \Codeception\Verify; class agpaypalTest extends \Codeception\Test\Unit { use \Codeception\Specify; protected $tester; ...