<commit_before>Sometimes you encounter a WordPress codebase and you're not sure
if the plugins installed in it have been modified.

This is a simple [WP-CLI](http://wp-cli.org/) command for running diff between installed
plugins and the source code freely available on WordPress.org.

To use the command, clone this repo, and then import the dependencies
using composer:

    path/to/plugin-diff-command> composer update

Then run WP-CLI like so:

    .> wp --require=path/to/plugin-diff-command/plugin-diff-command.php plugin diff <plugin-name>

The default output reports any files whose MD5 checksum do not match
the checksum of the same files hosted on WordPress.org. It also
reports missing files, and paths that are mistmatched (directory vs. file).

You can get a unified diff report by including the CLI option `--report=unified`.

## Want to contribute?

Please do! Just fork, modify, and send a pull request. Thank you!

The diff output is provided by [php-diff](https://github.com/chrisboulton/php-diff).
That library doesn't appear to be able to ignore differences that arise
from different line endings&mdash;anyone willing to take on that issue
would be a welcome addition to our team.

## License

MIT Licensed. Copyright &copy 2014 Fat Panda, LLC. Enjoy the freedom!

## Who is Fat Panda?

[Fat Panda](http://fatpandadev.com) is a digital agency in Winchester, VA.<commit_msg>Fix another type<commit_after>Sometimes you encounter a WordPress codebase and you're not sure
if the plugins installed in it have been modified.

This is a simple [WP-CLI](http://wp-cli.org/) command for running diff between installed
plugins and the source code freely available on WordPress.org.

To use the command, clone this repo, and then import the dependencies
using composer:

    path/to/plugin-diff-command> composer update

Then run WP-CLI like so:

    .> wp --require=path/to/plugin-diff-command/plugin-diff-command.php plugin diff <plugin-name>

The default output reports any files whose MD5 checksum do not match
the checksum of the same files hosted on WordPress.org. It also
reports missing files, and paths that are mistmatched (directory vs. file).

You can get a unified diff report by including the CLI option `--report=unified`.

## Want to contribute?

Please do! Just fork, modify, and send a pull request. Thank you!

The diff output is provided by [php-diff](https://github.com/chrisboulton/php-diff).
That library doesn't appear to be able to ignore differences that arise
from different line endings&mdash;anyone willing to take on that issue
would be a welcome addition to our team.

## License

MIT Licensed. Copyright &copy; 2014 Fat Panda, LLC. Enjoy the freedom!

## Who is Fat Panda?

[Fat Panda](http://fatpandadev.com) is a digital agency in Winchester, VA.
{'fraction_non_alphanumeric': 0.07352941176470588, 'fraction_numerical': 0.003586800573888092, 'mean_word_length': 4.252354048964219, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1130660', 'n_tokens_mistral': 777, 'n_tokens_neox': 748, 'n_words': 381}