[ticket/17535] Fix global var names duplication

PHPBB-17535
This commit is contained in:
rxu 2025-07-18 23:11:41 +07:00
parent 65ef7f1156
commit 788e408ceb
No known key found for this signature in database
GPG key ID: 955F0567380E586A
2 changed files with 2 additions and 2 deletions

View file

@ -249,7 +249,7 @@ class phpbb_bbcode_parser_test extends \phpbb_test_case
$this->markTestIncomplete($incomplete); $this->markTestIncomplete($incomplete);
} }
global $user, $request, $symfony_request, $phpbb_dispatcher, $config, $phpEx, $request, $symfony_request; global $user, $request, $symfony_request, $phpbb_dispatcher, $config, $phpEx;
$phpEx = 'php'; $phpEx = 'php';
$config = new \phpbb\config\config([ $config = new \phpbb\config\config([
'max_post_font_size' => 0, 'max_post_font_size' => 0,

View file

@ -52,7 +52,7 @@ class phpbb_url_bbcode_test extends phpbb_test_case
*/ */
public function test_url($description, $message, $expected) public function test_url($description, $message, $expected)
{ {
global $user, $request, $symfony_request, $phpbb_dispatcher, $config, $phpEx, $request, $symfony_request; global $user, $request, $symfony_request, $phpbb_dispatcher, $config, $phpEx;
$phpEx = 'php'; $phpEx = 'php';
$config = new \phpbb\config\config([ $config = new \phpbb\config\config([
'max_post_font_size' => 0, 'max_post_font_size' => 0,