Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshpanchal27 committed Aug 16, 2023
1 parent 7c8f871 commit e55e452
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"enable-patching": true,
"patches": {
"automattic/vipwpcs": {
"Fix incompatablity wp-coding-standards/wpcs": "patches/remove-rules.patch"
"Fix incompatibility wp-coding-standards/wpcs": "patches/remove-rules.patch"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/creating-a-static-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function run( Check_Result $result ) {
'Warning message content.',
array(
'code' => 'warning_code',
'file' => $pluging_file,
'file' => $plugin_file,
'line' => 1,
'column' => 10,
)
Expand Down
2 changes: 1 addition & 1 deletion includes/Checker/AJAX_Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function get_check_slugs_param() {
}

/**
* Returns the include experimental paramater based on the request.
* Returns the include experimental parameter based on the request.
*
* @since n.e.x.t
*
Expand Down
4 changes: 2 additions & 2 deletions includes/Checker/Abstract_Check_Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ abstract class Abstract_Check_Runner implements Check_Runner {
*
* @since n.e.x.t
*
* @return string The plugin paramater from the request.
* @return string The plugin parameter from the request.
*/
abstract protected function get_plugin_param();

Expand All @@ -111,7 +111,7 @@ abstract protected function get_plugin_param();
abstract protected function get_check_slugs_param();

/**
* Returns the include experimental paramater based on the request.
* Returns the include experimental parameter based on the request.
*
* @since n.e.x.t
*
Expand Down
2 changes: 1 addition & 1 deletion includes/Checker/CLI_Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function get_check_slugs_param() {
}

/**
* Returns the include experimental paramater based on the request.
* Returns the include experimental parameter based on the request.
*
* @since n.e.x.t
*
Expand Down
10 changes: 5 additions & 5 deletions tests/phpunit/Admin/Admin_Page_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function test_render_page() {
// Restore the original cache.
$wp_object_cache->set( 'plugins', $original_plugins, 'plugins' );

// Remove the plugin checker from exptected plugins for testing.
// Remove the plugin checker from expected plugins for testing.
unset( $expected_plugins[ $plugin_basename ] );

// Assert the Plugin Checker does not appear in the select dropdown.
Expand Down Expand Up @@ -208,10 +208,10 @@ public function test_filter_plugin_action_links_should_not_add_check( $context,
*/
public function data_status_mustuse_and_dropins() {
return array(
'Must-Use' => array( 'mustuse', false ),
'Must-Use with Admininistrator check' => array( 'mustuse', true ),
'Drop-ins' => array( 'dropins', false ),
'Drop-ins with Admininistrator check' => array( 'dropins', true ),
'Must-Use' => array( 'mustuse', false ),
'Must-Use with Administrator check' => array( 'mustuse', true ),
'Drop-ins' => array( 'dropins', false ),
'Drop-ins with Administrator check' => array( 'dropins', true ),
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function test_prepare_plugin_does_not_exist() {
* @throws Exception Throw exception.
*/
public function test_prepare() {
// Remove the WP tests active plugins filter which interfers with this test.
// Remove the WP tests active plugins filter which interferes with this test.
remove_filter( 'pre_option_active_plugins', 'wp_tests_options' );

$preparation = new Force_Single_Plugin_Preparation( $this->plugin_basename_file );
Expand Down

0 comments on commit e55e452

Please sign in to comment.