Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Commit 784d29a

Browse files
committed
Merge pull request #66 from Thinkscape/feature/zend-diagnostics-refactor
Refactor ZFTool to use ZendDiagnostics.
2 parents a8272c7 + d89b662 commit 784d29a

Some content is hidden

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

49 files changed

+1126
-3860
lines changed

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
},
2121
"require": {
2222
"php": ">=5.3.3",
23+
"zendframework/zenddiagnostics" : ">=1.0.0",
2324
"zendframework/zend-code": ">=2.2.2",
2425
"zendframework/zend-config": ">=2.2.2",
2526
"zendframework/zend-console": ">=2.2.2",
@@ -33,7 +34,8 @@
3334
"zendframework/zend-stdlib": ">=2.2.2",
3435
"zendframework/zend-text": ">=2.2.2",
3536
"zendframework/zend-version": ">=2.2.2",
36-
"zendframework/zend-view": ">=2.2.2"
37+
"zendframework/zend-view": ">=2.2.2",
38+
"zendframework/zend-http": ">=2.2.2"
3739
},
3840
"bin": ["zf.php"]
3941
}

config/module.config.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
),
129129
'zftool-diagnostics' => array(
130130
'options' => array(
131-
'route' => '(diagnostics|diag) [-v|--verbose]:verbose [--debug] [-q|--quiet]:quiet [-b|--break]:break [<testGroupName>]',
131+
'route' => '(diagnostics|diag) [-v|--verbose]:verbose [--debug] [-q|--quiet]:quiet [-b|--break]:break [<filter>]',
132132
'defaults' => array(
133133
'controller' => 'ZFTool\Controller\Diagnostics',
134134
'action' => 'run',
@@ -141,7 +141,7 @@
141141

142142
'diagnostics' => array(
143143
'ZF' => array(
144-
'PHP Version' => array('ZFTool\Diagnostics\Test\PhpVersion', '5.3.3'),
144+
'PHP Version' => array('PhpVersion', '5.3.3'),
145145
)
146146
)
147147
);

0 commit comments

Comments
 (0)