1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 05:34:01 +02:00

[ticket/11700] Move all recent code to namespaces

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-10 14:01:09 +02:00
parent 196e1813cd
commit b95fdacdd3
420 changed files with 2316 additions and 1840 deletions

View File

@@ -7,6 +7,8 @@
*
*/
namespace phpbb\db\migration;
/**
* @ignore
*/
@@ -16,11 +18,11 @@ if (!defined('IN_PHPBB'))
}
/**
* The migrator is responsible for applying new migrations in the correct order.
* The migrator is responsible for applying new \migrations in the correct order.
*
* @package db
*/
class phpbb_db_migration_exception extends \Exception
class exception extends \Exception
{
/**
* Extra parameters sent to exception to aid in debugging
@@ -64,12 +66,12 @@ class phpbb_db_migration_exception extends \Exception
}
/**
* Get localised message (with $user->lang())
* Get localised message (\with $user->lang())
*
* @param phpbb_user $user
* @param \phpbb\user $user
* @return string
*/
public function getLocalisedMessage(phpbb_user $user)
public function getLocalisedMessage(\phpbb\user $user)
{
$parameters = $this->getParameters();
array_unshift($parameters, $this->getMessage());