@@ -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 |