Skip to content

Commit 09c16a5

Browse files
author
janatzend
committed
new namespace
1 parent 9aa96ef commit 09c16a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+153
-163
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,44 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Db;
6+
namespace ZendServer\DepH\Db;
77

8-
use \ZendDevOps\DepH\Log\LogAwareInterface;
8+
use \ZendServer\DepH\Log\LogAwareInterface;
99
use \Zend\Db\Adapter\Adapter;
1010

1111
class AdapterMysqli extends Adapter implements LogAwareInterface {
1212
/**
1313
* Log
1414
*
15-
* @var \ZendDevOps\DepH\Log\Log
15+
* @var \ZendServer\DepH\Log\Log
1616
*/
1717
private $log;
1818

1919
/**
2020
* Params
2121
*
22-
* @var \ZendDevOps\DepH\Params\Params
22+
* @var \ZendServer\DepH\Params\Params
2323
*/
2424
private $params;
2525

2626
/**
2727
* Template
2828
*
29-
* @var \ZendDevOps\DepH\File\Template
29+
* @var \ZendServer\DepH\File\Template
3030
*/
3131
private $template;
3232

3333
/**
3434
* Path
3535
*
36-
* @var \ZendDevOps\DepH\Path\Path
36+
* @var \ZendServer\DepH\Path\Path
3737
*/
3838
private $path;
3939

4040
/**
4141
* Shell
4242
*
43-
* @var \ZendDevOps\DepH\Shell\Shell
43+
* @var \ZendServer\DepH\Shell\Shell
4444
*/
4545
private $shell;
4646

@@ -55,37 +55,37 @@ public function __construct($driver = array()) {
5555
}
5656

5757
/**
58-
* @see \ZendDevOps\DepH\Log\LogAwareInterface::setLog()
58+
* @see \ZendServer\DepH\Log\LogAwareInterface::setLog()
5959
*/
60-
public function setLog(\ZendDevOps\DepH\Log\Log $log) {
60+
public function setLog(\ZendServer\DepH\Log\Log $log) {
6161
$this->log = $log;
6262
}
6363

6464
/**
65-
* @param \ZendDevOps\DepH\Params\Params $params
65+
* @param \ZendServer\DepH\Params\Params $params
6666
*/
67-
public function setParams(\ZendDevOps\DepH\Params\Params $params) {
67+
public function setParams(\ZendServer\DepH\Params\Params $params) {
6868
$this->params = $params;
6969
}
7070

7171
/**
72-
* @param \ZendDevOps\DepH\File\Template $template
72+
* @param \ZendServer\DepH\File\Template $template
7373
*/
74-
public function setTemplate(\ZendDevOps\DepH\File\Template $template) {
74+
public function setTemplate(\ZendServer\DepH\File\Template $template) {
7575
$this->template = $template;
7676
}
7777

7878
/**
79-
* @param \ZendDevOps\DepH\File\Path $path
79+
* @param \ZendServer\DepH\File\Path $path
8080
*/
81-
public function setPath(\ZendDevOps\DepH\Path\Path $path) {
81+
public function setPath(\ZendServer\DepH\Path\Path $path) {
8282
$this->path = $path;
8383
}
8484

8585
/**
86-
* @param \ZendDevOps\DepH\SystemCall\Shell $shell
86+
* @param \ZendServer\DepH\SystemCall\Shell $shell
8787
*/
88-
public function setShell(\ZendDevOps\DepH\SystemCall\Shell $shell) {
88+
public function setShell(\ZendServer\DepH\SystemCall\Shell $shell) {
8989
$this->shell = $shell;
9090
}
9191

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Db;
6+
namespace ZendServer\DepH\Db;
77

88
use \Zend\ServiceManager\FactoryInterface;
99
use \Zend\ServiceManager\ServiceLocatorInterface;
10-
use ZendDevOps\DepH\Log\LogAwareInterface;
10+
use ZendServer\DepH\Log\LogAwareInterface;
1111

1212
class MysqliFactory implements FactoryInterface, LogAwareInterface {
1313
/**
@@ -16,7 +16,7 @@ class MysqliFactory implements FactoryInterface, LogAwareInterface {
1616
private $serviceLocator;
1717

1818
/**
19-
* @var \ZendDevOps\DepH\Log\Log
19+
* @var \ZendServer\DepH\Log\Log
2020
*/
2121
private $log;
2222

@@ -69,7 +69,7 @@ public function createService(ServiceLocatorInterface $serviceLocator) {
6969
}
7070
}
7171

72-
$db = new \ZendDevOps\DepH\Db\AdapterMysqli($driverConfig);
72+
$db = new \ZendServer\DepH\Db\AdapterMysqli($driverConfig);
7373

7474
$db->setLog($this->serviceLocator->get('Log'));
7575
$db->setTemplate($this->serviceLocator->get('Template'));
@@ -80,9 +80,9 @@ public function createService(ServiceLocatorInterface $serviceLocator) {
8080
}
8181

8282
/**
83-
* @see \ZendDevOps\DepH\Log\LogAwareInterface::setLog()
83+
* @see \ZendServer\DepH\Log\LogAwareInterface::setLog()
8484
*/
85-
public function setLog(\ZendDevOps\DepH\Log\Log $log) {
85+
public function setLog(\ZendServer\DepH\Log\Log $log) {
8686
$this->log = $log;
8787
}
8888

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Debugger;
6+
namespace ZendServer\DepH\Debugger;
77

8-
use ZendDevOps\DepH\Log\LogAwareInterface;
8+
use ZendServer\DepH\Log\LogAwareInterface;
99

1010
class ZendDebugger implements LogAwareInterface
1111
{
1212
/**
13-
* @var \ZendDevOps\DepH\Deployment\Deployment
13+
* @var \ZendServer\DepH\Deployment\Deployment
1414
*/
1515
private $deployment;
1616

1717
/**
18-
* @var \ZendDevOps\DepH\Log\Log
18+
* @var \ZendServer\DepH\Log\Log
1919
*/
2020
private $log;
2121

@@ -55,16 +55,16 @@ public function start ($clientIP, $port = 10137)
5555
}
5656

5757
/**
58-
* @param \ZendDevOps\DepH\Deployment\Deployment $deployment
58+
* @param \ZendServer\DepH\Deployment\Deployment $deployment
5959
*/
60-
public function setDeployment(\ZendDevOps\DepH\Deployment\Deployment $deployment) {
60+
public function setDeployment(\ZendServer\DepH\Deployment\Deployment $deployment) {
6161
$this->deployment = $deployment;
6262
}
6363

6464
/**
65-
* @see \ZendDevOps\DepH\Log\LogAwareInterface::setLog()
65+
* @see \ZendServer\DepH\Log\LogAwareInterface::setLog()
6666
*/
67-
public function setLog(\ZendDevOps\DepH\Log\Log $log) {
67+
public function setLog(\ZendServer\DepH\Log\Log $log) {
6868
$this->log = $log;
6969
}
7070

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Deployment;
6+
namespace ZendServer\DepH\Deployment;
77

88
use Zend\EventManager\EventManagerInterface;
99
use Zend\EventManager\EventManagerAwareInterface;
10-
use ZendDevOps\DepH\Log\LogAwareInterface;
10+
use ZendServer\DepH\Log\LogAwareInterface;
1111

1212
class Deployment implements EventManagerAwareInterface, LogAwareInterface{
1313
const PRE_STAGE = 1;
@@ -25,7 +25,7 @@ class Deployment implements EventManagerAwareInterface, LogAwareInterface{
2525
private $events;
2626

2727
/**
28-
* @var \ZendDevOps\DepH\Log\Log
28+
* @var \ZendServer\DepH\Log\Log
2929
*/
3030
private $log;
3131

@@ -67,16 +67,16 @@ public function getEventManager()
6767
}
6868

6969
/**
70-
* @see \ZendDevOps\DepH\Log\LogAwareInterface::setLog()
70+
* @see \ZendServer\DepH\Log\LogAwareInterface::setLog()
7171
*/
72-
public function setLog(\ZendDevOps\DepH\Log\Log $log) {
72+
public function setLog(\ZendServer\DepH\Log\Log $log) {
7373
$this->log = $log;
7474
}
7575

7676
/**
7777
* Retrieves the value of the constant of the currently used action
7878
*
79-
* @throws \ZendDevOps\DepH\File\Exception\RuntimeException
79+
* @throws \ZendServer\DepH\File\Exception\RuntimeException
8080
* @return int
8181
*/
8282
public function getCurrentAction() {

ZendDevOps/DepH/Deployment/Exception/RuntimeException.php renamed to ZendServer/DepH/Deployment/Exception/RuntimeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Deployment\Exception;
6+
namespace ZendServer\DepH\Deployment\Exception;
77

88
class RuntimeException extends \Exception
99
{

ZendDevOps/DepH/File/Exception/RuntimeException.php renamed to ZendServer/DepH/File/Exception/RuntimeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\File\Exception;
6+
namespace ZendServer\DepH\File\Exception;
77

88
class RuntimeException extends \Exception
99
{
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\File;
6+
namespace ZendServer\DepH\File;
77

88
use Zend\EventManager\EventManagerInterface;
99
use Zend\EventManager\EventManagerAwareInterface;
10-
use ZendDevOps\DepH\Log\LogAwareInterface;
10+
use ZendServer\DepH\Log\LogAwareInterface;
1111

1212
class Template implements EventManagerAwareInterface, LogAwareInterface{
1313
/**
14-
* @var \ZendDevOps\DepH\Log\Log
14+
* @var \ZendServer\DepH\Log\Log
1515
*/
1616
private $log;
1717

@@ -44,9 +44,9 @@ public function getEventManager()
4444
}
4545

4646
/**
47-
* @see \ZendDevOps\DepH\Log\LogAwareInterface::setLog()
47+
* @see \ZendServer\DepH\Log\LogAwareInterface::setLog()
4848
*/
49-
public function setLog(\ZendDevOps\DepH\Log\Log $log) {
49+
public function setLog(\ZendServer\DepH\Log\Log $log) {
5050
$this->log = $log;
5151
}
5252

@@ -55,11 +55,11 @@ public function setLog(\ZendDevOps\DepH\Log\Log $log) {
5555
* Exception, Deployment process will terminate
5656
*
5757
* @param string $event
58-
* @throws ZendDevOps\DepH\File\Exception\RuntimeException
58+
* @throws ZendServer\DepH\File\Exception\RuntimeException
5959
*/
6060
public function crit($event) {
6161
$this->log->failure($event);
62-
throw new \ZendDevOps\DepH\File\Exception\RuntimeException($event->getParam('msg'));
62+
throw new \ZendServer\DepH\File\Exception\RuntimeException($event->getParam('msg'));
6363
}
6464

6565
/**
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Log;
6+
namespace ZendServer\DepH\Log;
77

88
class Log extends \Zend\Log\Logger{
99
/**
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Log;
6+
namespace ZendServer\DepH\Log;
77

88
interface LogAwareInterface {
99
/**

ZendDevOps/DepH/Params/AbstractParamsContainer.php renamed to ZendServer/DepH/Params/AbstractParamsContainer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* DepH - Zend Server Deployment Helper
44
*/
55

6-
namespace ZendDevOps\DepH\Params;
6+
namespace ZendServer\DepH\Params;
77

8-
use ZendDevOps\DepH\Params\ParamsContainerInterface;
8+
use ZendServer\DepH\Params\ParamsContainerInterface;
99
use Zend\EventManager\EventManagerInterface;
1010

1111
abstract class AbstractParamsContainer implements ParamsContainerInterface {

0 commit comments

Comments
 (0)