for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Tests\Integration;
use Dontdrinkandroot\GitkiBundle\Tests\GitRepositoryTestTrait;
use Liip\FunctionalTestBundle\Test\WebTestCase;
use Symfony\Component\BrowserKit\AbstractBrowser;
abstract class BaseIntegrationTest extends WebTestCase
{
use GitRepositoryTestTrait;
const GIT_REPOSITORY_PATH = '/tmp/gitkirepo/';
protected function setUp()
$this->setUpRepo();
}
public function tearDown(): void
$this->tearDownRepo();
// TODO: Remove, replaces Liip Make Client until fixed for Symfony 4.3
protected function makeBrowser($authentication = false, array $params = []): AbstractBrowser
$authentication
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return static::createClient(['environment' => $this->environment], $params);
/**
* {@inheritdoc}
*/
protected function getRepositoryTemplatePath()
return realpath(__DIR__ . '/../../vendor/dontdrinkandroot/gitki-bundle/Tests/Data/repo/');
protected function getRepositoryTargetPath()
return self::GIT_REPOSITORY_PATH;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.