-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --include-root parameter to also verify root directory (#102)
* Add --include-root parameter Allows warning for unexpected files in ABSPATH. * Add test for --include-root parameter * when --allow-root is set, do not warn about wp-config.php and wp-contents/plugins/* * PHPCS: align equals signs * Update src/Checksum_Core_Command.php Co-authored-by: Daniel Bachhuber <[email protected]> * when --include-root is enabled, skip entire wp-content directory from extra file checks * add private $include_root variable * update help text to indicate it looks for files and folders * Add test for wp-cli.yml * Update features/checksum-core.feature Co-authored-by: Daniel Bachhuber <[email protected]> * Fix Scenario indentation * Add more tests to clarify expected behavior * Remove extraneous helper * Clean up `wp-cli.yml` scenario * Rebuild README with new flag * Avoid random test failures when the order changes * Remove extraneous argument * Fix these assertions --------- Co-authored-by: Daniel Bachhuber <[email protected]> Co-authored-by: Daniel Bachhuber <[email protected]>
- Loading branch information
1 parent
e9dcb2b
commit 1a44dfb
Showing
3 changed files
with
123 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters