@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | parent::setUp(); |
| 53 | 53 | |
| 54 | - $table_categories = 'phpbb_directory_cats'; |
|
| 55 | - $tables_comments = 'phpbb_directory_comments'; |
|
| 54 | + $table_categories = 'phpbb_directory_cats'; |
|
| 55 | + $tables_comments = 'phpbb_directory_comments'; |
|
| 56 | 56 | $tables_links = 'phpbb_directory_links'; |
| 57 | 57 | $tables_votes = 'phpbb_directory_votes'; |
| 58 | 58 | $tables_watch = 'phpbb_directory_watch'; |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | |
| 101 | 101 | $this->helper->expects($this->any()) |
| 102 | 102 | ->method('render') |
| 103 | - ->willReturnCallback(function ($template_file, $page_title = '', $status_code = 200, $display_online_list = false) { |
|
| 103 | + ->willReturnCallback(function($template_file, $page_title = '', $status_code = 200, $display_online_list = false) { |
|
| 104 | 104 | return new \Symfony\Component\HttpFoundation\Response($template_file, $status_code); |
| 105 | 105 | }); |
| 106 | 106 | $this->helper |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | $phpbb_container->set('path_helper', $phpbb_path_helper); |
| 132 | 132 | $phpbb_container->set('ext.manager', $phpbb_extension_manager); |
| 133 | 133 | $phpbb_container->set('user', $this->user); |
| 134 | - $phpbb_container->setParameter('core.cache_dir', $phpbb_root_path . 'cache/' . PHPBB_ENVIRONMENT . '/'); |
|
| 134 | + $phpbb_container->setParameter('core.cache_dir', $phpbb_root_path.'cache/'.PHPBB_ENVIRONMENT.'/'); |
|
| 135 | 135 | |
| 136 | 136 | $context = new \phpbb\template\context(); |
| 137 | 137 | $twig_extension = new \phpbb\template\twig\extension($context, $this->lang); |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | public function getDataSet() |
| 20 | 20 | { |
| 21 | - return $this->createMySQLXMLDataSet(__DIR__ . './fixtures/fixture_base.xml'); |
|
| 21 | + return $this->createMySQLXMLDataSet(__DIR__.'./fixtures/fixture_base.xml'); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | public function getDataSet() |
| 20 | 20 | { |
| 21 | - return $this->createMySQLXMLDataSet(__DIR__ . './fixtures/fixture_categories.xml'); |
|
| 21 | + return $this->createMySQLXMLDataSet(__DIR__.'./fixtures/fixture_categories.xml'); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | public function getDataSet() |
| 35 | 35 | { |
| 36 | - return $this->createMySQLXMLDataSet(__DIR__ . '/fixtures/categories.xml'); |
|
| 36 | + return $this->createMySQLXMLDataSet(__DIR__.'/fixtures/categories.xml'); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function setUp() |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | public function test_page_loader($id, $expected) |
| 88 | 88 | { |
| 89 | 89 | // Get a route instance |
| 90 | - $route = $this->collection->get('ernadoo_phpbbdirectory_dynamic_route_' . $id); |
|
| 90 | + $route = $this->collection->get('ernadoo_phpbbdirectory_dynamic_route_'.$id); |
|
| 91 | 91 | |
| 92 | 92 | // Assert the roue is an instance of Route |
| 93 | 93 | $this->assertInstanceOf('Symfony\Component\Routing\Route', $route, 'A route instance could not be made.'); |