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

Refactor ZFTool to use ZendDiagnostics #66

Merged

Conversation

Thinkscape
Copy link
Member

  • 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!

- 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.
@Thinkscape
Copy link
Member Author

Ready for review @lsmith77 @weierophinney.

This PR is a refactor for recently-released ZendDiagnostics 1.0 and de-duplicates elements of ZFTool\Diagnostics in favor of ZendDiagnostics.

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)) {

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 ..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@lsmith77
Copy link

Just skimmed over it .. didn't not attempt to run the code but added some comments as per your request :)

@Thinkscape
Copy link
Member Author

Thanks!
Merging it in.

Thinkscape added a commit that referenced this pull request Mar 31, 2014
@Thinkscape Thinkscape merged commit 784d29a into zendframework:master Mar 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants