mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13803] Hyphenated class names
PHPBB3-13803
This commit is contained in:
parent
de52580a78
commit
e11ae7e9cd
7 changed files with 16 additions and 16 deletions
|
@ -1,62 +1,62 @@
|
||||||
services:
|
services:
|
||||||
text_reparser.admin_contact_info:
|
text_reparser.admin_contact_info:
|
||||||
class: phpbb\textreparser\admincontactinfo
|
class: phpbb\textreparser\admin_contact_info
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.forum_description:
|
text_reparser.forum_description:
|
||||||
class: phpbb\textreparser\forumdescription
|
class: phpbb\textreparser\forum_description
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.forum_rules:
|
text_reparser.forum_rules:
|
||||||
class: phpbb\textreparser\forumrules
|
class: phpbb\textreparser\forum_rules
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.group_description:
|
text_reparser.group_description:
|
||||||
class: phpbb\textreparser\groupdescription
|
class: phpbb\textreparser\group_description
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.pm_text:
|
text_reparser.pm_text:
|
||||||
class: phpbb\textreparser\pmtext
|
class: phpbb\textreparser\pm_text
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.poll_option:
|
text_reparser.poll_option:
|
||||||
class: phpbb\textreparser\polloption
|
class: phpbb\textreparser\poll_option
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.poll_title:
|
text_reparser.poll_title:
|
||||||
class: phpbb\textreparser\polltitle
|
class: phpbb\textreparser\poll_title
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.post_text:
|
text_reparser.post_text:
|
||||||
class: phpbb\textreparser\posttext
|
class: phpbb\textreparser\post_text
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
text_reparser.user_signature:
|
text_reparser.user_signature:
|
||||||
class: phpbb\textreparser\usersignature
|
class: phpbb\textreparser\user_signature
|
||||||
arguments:
|
arguments:
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\textreparser;
|
namespace phpbb\textreparser;
|
||||||
|
|
||||||
class forumdescription extends base
|
class forum_description extends base
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\textreparser;
|
namespace phpbb\textreparser;
|
||||||
|
|
||||||
class forumrules extends base
|
class forum_rules extends base
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\textreparser;
|
namespace phpbb\textreparser;
|
||||||
|
|
||||||
class groupdescription extends base
|
class group_description extends base
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\textreparser;
|
namespace phpbb\textreparser;
|
||||||
|
|
||||||
class pmtext extends base
|
class pm_text extends base
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\textreparser;
|
namespace phpbb\textreparser;
|
||||||
|
|
||||||
class posttext extends base
|
class post_text extends base
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
|
@ -14,7 +14,7 @@ require_once __DIR__ . '/../../phpBB/includes/functions.php';
|
||||||
require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
|
require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
|
||||||
require_once __DIR__ . '/../test_framework/phpbb_database_test_case.php';
|
require_once __DIR__ . '/../test_framework/phpbb_database_test_case.php';
|
||||||
|
|
||||||
class phpbb_textreparser_posttext_test extends phpbb_database_test_case
|
class phpbb_textreparser_post_text_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ class phpbb_textreparser_posttext_test extends phpbb_database_test_case
|
||||||
public function testReparse($min_id, $max_id, $expected)
|
public function testReparse($min_id, $max_id, $expected)
|
||||||
{
|
{
|
||||||
$db = $this->new_dbal();
|
$db = $this->new_dbal();
|
||||||
$reparser = new \phpbb\textreparser\posttext($db);
|
$reparser = new \phpbb\textreparser\post_text($db);
|
||||||
$reparser->reparse_range($min_id, $max_id);
|
$reparser->reparse_range($min_id, $max_id);
|
||||||
$sql = 'SELECT post_id, post_text
|
$sql = 'SELECT post_id, post_text
|
||||||
FROM ' . POSTS_TABLE . "
|
FROM ' . POSTS_TABLE . "
|
Loading…
Add table
Reference in a new issue