We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9437962 commit 5091698Copy full SHA for 5091698
phpcs-diff.php
@@ -0,0 +1,18 @@
1
+<?php
2
+/*
3
+Plugin Name: PHPCS Diff
4
+Plugin URI: https://github.com/Automattic/phpcs-diff
5
+Description: Add WP-CLI command for generating PHP CodeSniffer reports for diff retrieved from version systems
6
+Version: 0.0.1
7
+Author: Automattic
8
+Author URI: https://automattic.com/
9
+License: GPL2
10
+License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
+Text Domain: phpcs_diff
12
+Domain Path: /languages
13
+*/
14
+
15
+// Load the command only if we're running WordPress via WP CLI.
16
+if ( defined( 'WP_CLI' ) && WP_CLI ) {
17
+ require_once( './wp-cli-command.php' );
18
+}
0 commit comments