Added PHPDocs

This commit is contained in:
Kevin Frantz 2019-02-12 18:04:36 +01:00
parent bd5a85e1e8
commit d6a29af72a
7 changed files with 39 additions and 0 deletions

View File

@ -19,6 +19,11 @@ class RoutesGetStatusIntegrationTest extends KernelTestCase
'spa' => 302,
];
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
self::bootKernel();
@ -31,6 +36,10 @@ class RoutesGetStatusIntegrationTest extends KernelTestCase
}
}
/**
* @param string $url
* @param int $status
*/
private function parameterlesGetRouteTest(string $url, int $status): void
{
$request = new Request([], [], [], [], [], ['REQUEST_URI' => $url, null]);

View File

@ -15,6 +15,11 @@ use Symfony\Component\HttpFoundation\Request;
*/
class RoutesReachableIntegrationTest extends KernelTestCase
{
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
self::bootKernel();

View File

@ -16,6 +16,11 @@ class SourceFixturesIntegrationTest extends KernelTestCase
*/
protected $entityManager;
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
self::bootKernel();

View File

@ -17,6 +17,11 @@ class FixtureSourceFactoryTest extends TestCase
*/
protected $fixtureSources;
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
$this->fixtureSources = FixtureSourceFactory::getAllFixtureSources();

View File

@ -22,6 +22,11 @@ class SourceMemberManagerIntegrationTest extends TestCase
*/
private $sourceMemberManager;
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
$this->source = new PureSource();

View File

@ -28,6 +28,11 @@ class PureSourceIntegrationTest extends KernelTestCase
*/
private $pureSource;
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
self::bootKernel();

View File

@ -44,6 +44,11 @@ class SourceIntegrationTest extends TestCase
}
}
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
$this->sources = new ArrayCollection();