diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d3b886e7c..529a01caa 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -224,3 +224,19 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true + + plugin-check: + name: "Plugin check" + runs-on: ubuntu-latest + needs: build + steps: + - name: "Download build artifact" + uses: actions/download-artifact@v4 + with: + name: "build-artifact" + path: skaut-google-drive-gallery + + - name: "Run plugin check" + uses: wordpress/plugin-check-action@v1 + with: + build-dir: skaut-google-drive-gallery diff --git a/src/php/admin/class-tinymce-plugin.php b/src/php/admin/class-tinymce-plugin.php index 91b9ffef0..675de19ce 100644 --- a/src/php/admin/class-tinymce-plugin.php +++ b/src/php/admin/class-tinymce-plugin.php @@ -58,6 +58,7 @@ public static function add() { return; } + // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage echo '' .