@@ -10,12 +10,12 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace AppBundle\Controller; |
| 12 | 12 | |
| 13 | +use AppBundle\Entity\EpvResults; |
|
| 14 | +use AppBundle\Helper\Extensions\OfficialExtension; |
|
| 13 | 15 | use Phpbb\Epv\Output\HtmlOutput; |
| 14 | 16 | use Phpbb\Epv\Output\Output; |
| 15 | 17 | use Phpbb\Epv\Tests\TestStartup; |
| 16 | -use AppBundle\Entity\EpvResults; |
|
| 17 | 18 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 18 | -use AppBundle\Helper\Extensions\OfficialExtension; |
|
| 19 | 19 | use Symfony\Component\HttpFoundation\Request; |
| 20 | 20 | |
| 21 | 21 | // Controller for Extensions pages |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | 11 | namespace AppBundle\Factory; |
| 12 | -use Doctrine\Common\Cache\FilesystemCache; |
|
| 13 | 12 | |
| 14 | 13 | class FilesystemCacheFactory |
| 15 | 14 | { |
@@ -18,6 +18,9 @@ discard block |
||
| 18 | 18 | public $crawler; |
| 19 | 19 | public $response; |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $path |
|
| 23 | + */ |
|
| 21 | 24 | protected function setupTest($path) |
| 22 | 25 | { |
| 23 | 26 | $client = static::createClient(); |
@@ -30,6 +33,10 @@ discard block |
||
| 30 | 33 | return array('client' => $client, 'crawler' => $crawler, 'response' => $response); |
| 31 | 34 | } |
| 32 | 35 | |
| 36 | + /** |
|
| 37 | + * @param \Symfony\Bundle\FrameworkBundle\Client $client |
|
| 38 | + * @param \Symfony\Component\DomCrawler\Crawler|null $crawler |
|
| 39 | + */ |
|
| 33 | 40 | public function setupBootstrapping($client, $crawler, $response) |
| 34 | 41 | { |
| 35 | 42 | $this->setClient($client); |
@@ -53,6 +60,9 @@ discard block |
||
| 53 | 60 | } |
| 54 | 61 | } |
| 55 | 62 | |
| 63 | + /** |
|
| 64 | + * @param integer $queries |
|
| 65 | + */ |
|
| 56 | 66 | private function queryCheck($queries, $profile) |
| 57 | 67 | { |
| 58 | 68 | // Shouldn't really have more than 20 queries on any page |
@@ -63,6 +73,9 @@ discard block |
||
| 63 | 73 | ); |
| 64 | 74 | } |
| 65 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $dependency |
|
| 78 | + */ |
|
| 66 | 79 | public function get($dependency) |
| 67 | 80 | { |
| 68 | 81 | $container = $this->client->getContainer(); |
@@ -90,6 +103,9 @@ discard block |
||
| 90 | 103 | } |
| 91 | 104 | } |
| 92 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string[] $phpbbTables |
|
| 108 | + */ |
|
| 93 | 109 | public function setupDatabase($symfonyTables, $phpbbTables) |
| 94 | 110 | { |
| 95 | 111 | // Connections to databases |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Get the topic details from the forums table & the first post |
| 44 | 44 | * |
| 45 | - * @param \Doctrine\DBAL\Connection $phpBBConnection DBAL connection to a phpBB database |
|
| 45 | + * @param \Doctrine\DBAL\Connection $phpbbConnection DBAL connection to a phpBB database |
|
| 46 | 46 | * (Doctrine\DBAL\Connection) |
| 47 | 47 | * @param integer $forum ID for the forum to get topics from |
| 48 | 48 | * @param integer $retrieve_limit Maxmium number of topics to retrieved |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 5 | -use Symfony\Component\HttpFoundation\Response; |
|
| 6 | 5 | use Symfony\Component\HttpFoundation\Request; |
| 6 | +use Symfony\Component\HttpFoundation\Response; |
|
| 7 | 7 | |
| 8 | 8 | class VigLinkController extends Controller |
| 9 | 9 | { |