Skip to content

Commit

Permalink
updated from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
davidperezgar committed Oct 27, 2024
1 parent bf1eb07 commit af43f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/Checker/Checks/Plugin_Repo/File_Type_Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function ( $file ) use ( $plugin_path ) {
/**
* Looks for library core files and amends the given result with an error if found.
*
* @since 1.2.0
* @since 1.3.0
*
* @param Check_Result $result The check result to amend, including the plugin context to check.
* @param array $files List of absolute file paths.
Expand All @@ -317,7 +317,7 @@ protected function look_for_library_core_files( Check_Result $result, array $fil
'jquery.hoverintent(?!\/)',
'jquery.imgareaselect(?!\/)',
'jquery.hotkeys(?!\/)',
'jquery.ba-serializeobject(?!\/)', // spellchecker:disable-line
'jquery.ba-serializeobject(?!\/)', // spellchecker:disable-line.

Check warning on line 320 in includes/Checker/Checks/Plugin_Repo/File_Type_Check.php

View workflow job for this annotation

GitHub Actions / Spell Check with Typos

"ba" should be "by" or "be".
'jquery.query-object(?!\/)',
'jquery.suggest(?!\/)',
'polyfill(\.min)?\.js(?!\/)',
Expand Down Expand Up @@ -382,7 +382,7 @@ function ( $file ) use ( $plugin_path ) {
* @return string Description.
*/
public function get_description(): string {
return __( 'Detects the usage of hidden and compressed files, VCS directories, application files,badly named files and library core files.', 'plugin-check' );
return __( 'Detects the usage of hidden and compressed files, VCS directories, application files, badly named files and library core files.', 'plugin-check' );

Check warning on line 385 in includes/Checker/Checks/Plugin_Repo/File_Type_Check.php

View check run for this annotation

Codecov / codecov/patch

includes/Checker/Checks/Plugin_Repo/File_Type_Check.php#L385

Added line #L385 was not covered by tests
}

/**
Expand Down

0 comments on commit af43f88

Please sign in to comment.