-
Notifications
You must be signed in to change notification settings - Fork 101
Refactor ZFTool to use ZendDiagnostics #66
Refactor ZFTool to use ZendDiagnostics #66
Conversation
Thinkscape
commented
Aug 24, 2013
- Set zendframework/ZendDiagnostics as dependency in composer.json.
- Move all tests to new repo except MVC tests.
- Naming/labeling logic - make it internal to Test\Runner.
- Create a compatibility layer
- Understand and consume universal tests by default.
- Update docs!
…eature/zend-diagnostics-refactor
- Add support for skipped checks. - s/test/check/ - Update docs. - Refactor usage of console param aliases after the fix in ZF 2.2+. - Fix checks filtering. - Fix unit tests leaking diagnostic reporter output. - Fix composer.json import of ZendDiagnostics.
Ready for review @lsmith77 @weierophinney. This PR is a refactor for recently-released ZendDiagnostics 1.0 and de-duplicates elements of It also adds support for missing features that were added to ZendDiagnostics in the past few months (i.e. skipped checks) and updates documentation to be in line with all the changes. Previous functionality has been re-factored and works the same as it used to. |
if ($checkGroupName) { | ||
$config = array_intersect_ukey($config, array($checkGroupName => 1), 'strcasecmp'); | ||
|
||
if(empty($config)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may want to run a CS checker ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Just skimmed over it .. didn't not attempt to run the code but added some comments as per your request :) |
Thanks! |
Refactor ZFTool to use ZendDiagnostics.