Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Renaming Classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmacl committed Apr 13, 2013
1 parent 671454e commit 3b4a89b
Show file tree
Hide file tree
Showing 70 changed files with 218 additions and 221 deletions.
2 changes: 1 addition & 1 deletion src/Joomla/Application/AbstractWebApplication.php
Expand Up @@ -19,7 +19,7 @@
*
* @since 1.0
*/
abstract class Web extends Base
abstract class AbstractWebApplication extends AbstractApplication
{
/**
* Character encoding string.
Expand Down
4 changes: 2 additions & 2 deletions src/Joomla/Application/Tests/Stubs/ConcreteBase.php
Expand Up @@ -6,14 +6,14 @@

namespace Joomla\Application\Tests;

use Joomla\Application\Base;
use Joomla\Application\AbstractApplication;

/**
* Concrete stub for the Joomla\Application\Base class.
*
* @since 1.0
*/
class ConcreteBase extends Base
class ConcreteBase extends AbstractApplication
{
/**
* The exit code if the application was closed otherwise null.
Expand Down
4 changes: 2 additions & 2 deletions src/Joomla/Application/Tests/Stubs/ConcreteCli.php
Expand Up @@ -6,14 +6,14 @@

namespace Joomla\Application\Tests;

use Joomla\Application\Cli;
use Joomla\Application\AbstractCliApplication;

/**
* Concrete stub for the Joomla\Application\Cli class.
*
* @since 1.0
*/
class ConcreteCli extends Cli
class ConcreteCli extends AbstractCliApplication
{
/**
* The exit code if the application was closed otherwise null.
Expand Down
5 changes: 2 additions & 3 deletions src/Joomla/Application/Tests/Stubs/ConcreteDaemon.php
Expand Up @@ -6,15 +6,14 @@

namespace Joomla\Application\Tests;

use Joomla\Application\Daemon;
use Joomla\Test\Helper;
use Joomla\Application\AbstractDaemonApplication;

/**
* Inspector for the Joomla\Application\Daemon class.
*
* @since 1.0
*/
class ConcreteDaemon extends Daemon
class ConcreteDaemon extends AbstractDaemonApplication
{
/**
* @var integer Mimic the response of the pcntlChildExitStatus method.
Expand Down
4 changes: 2 additions & 2 deletions src/Joomla/Application/Tests/Stubs/ConcreteWeb.php
Expand Up @@ -6,14 +6,14 @@

namespace Joomla\Application\Tests;

use Joomla\Application\Web;
use Joomla\Application\AbstractWebApplication;

/**
* Concrete stub for the Joomla\Application\Web class.
*
* @since 1.0
*/
class ConcreteWeb extends Web
class ConcreteWeb extends AbstractWebApplication
{
/**
* The exit code if the application was closed otherwise null.
Expand Down
90 changes: 45 additions & 45 deletions src/Joomla/Application/Tests/Web/WebClientTest.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Joomla/Application/Web/WebClient.php
Expand Up @@ -27,7 +27,7 @@
*
* @since 1.0
*/
class Client
class WebClient
{
const WINDOWS = 1;
const WINDOWS_PHONE = 2;
Expand Down
2 changes: 1 addition & 1 deletion src/Joomla/Client/ClientHelper.php
Expand Up @@ -15,7 +15,7 @@
*
* @since 1.0
*/
class Helper
class ClientHelper
{
/**
* Method to return the array of client layer configuration options
Expand Down
6 changes: 3 additions & 3 deletions src/Joomla/Controller/AbstractController.php
Expand Up @@ -16,7 +16,7 @@
*
* @since 1.0
*/
abstract class Base implements ControllerInterface
abstract class AbstractController implements ControllerInterface
{
/**
* The application object.
Expand All @@ -42,7 +42,7 @@ abstract class Base implements ControllerInterface
*
* @since 1.0
*/
public function __construct(Input $input = null, Application\Base $app = null)
public function __construct(Input $input = null, Application\AbstractApplication $app = null)
{
$this->input = $input;
$this->app = $app;
Expand Down Expand Up @@ -105,7 +105,7 @@ public function serialize()
*
* @since 1.0
*/
public function setApplication(Application\Base $app)
public function setApplication(Application\AbstractApplication $app)
{
$this->app = $app;

Expand Down
2 changes: 1 addition & 1 deletion src/Joomla/Controller/ControllerInterface.php
Expand Up @@ -58,7 +58,7 @@ public function getInput();
*
* @since 1.0
*/
public function setApplication(Application\Base $app);
public function setApplication(Application\AbstractApplication $app);

/**
* Set the input object.
Expand Down
4 changes: 2 additions & 2 deletions src/Joomla/Controller/Tests/Stubs/BaseController.php
Expand Up @@ -6,7 +6,7 @@

namespace Joomla\Controller\Tests;

use Joomla\Controller\Base;
use Joomla\Controller\AbstractController;

/**
* Joomla Framework Capitaliser Object Class
Expand All @@ -19,7 +19,7 @@
*
* @since 1.0
*/
class BaseController extends Base
class BaseController extends AbstractController
{
/**
* Method to execute the controller.
Expand Down

0 comments on commit 3b4a89b

Please sign in to comment.