diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6a075f..a7944a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,5 +35,4 @@ jobs: run: | npm run lint:js npm run lint:css - phpcs --config-set ignore_warnings_on_exit 1 composer run lint diff --git a/wikipediapreview.php b/wikipediapreview.php index 25b5d04..f27ae95 100644 --- a/wikipediapreview.php +++ b/wikipediapreview.php @@ -137,7 +137,7 @@ function make_link( $text, $url ) { return '' . $text . ''; } -function add_meta_links( $links_array, $plugin_file_name, $plugin_data, $status ) { +function add_meta_links( $links_array, $plugin_file_name, $plugin_data, $status ) { // phpcs:ignore if ( strpos( $plugin_file_name, basename( __FILE__ ) ) ) { $links_array = array_merge( $links_array,