Skip to content

Commit

Permalink
Fix phpstan ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Sep 13, 2024
1 parent c950dad commit 33523cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/Engine/Admin/Settings/Render.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function render_form_sections() {
*/
public function render_imagify_section() {

// @phpstan-ignore-next-line
require_once ABSPATH . 'wp-admin/includes/plugin-install.php';

$plugin_data = get_transient( 'rocket_imagify_plugin_data' );
Expand Down
1 change: 1 addition & 0 deletions inc/Engine/Plugin/UpdaterSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ public function rollback() {

set_site_transient( 'update_plugins', $plugin_transient );

// @phpstan-ignore-next-line
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

// translators: %s is the plugin name.
Expand Down

0 comments on commit 33523cd

Please sign in to comment.