diff --git a/inc/packages/admin/namespace.php b/inc/packages/admin/namespace.php index 287bbc06..91c0659e 100644 --- a/inc/packages/admin/namespace.php +++ b/inc/packages/admin/namespace.php @@ -124,8 +124,6 @@ function handle_did_during_ajax( $result, $action, $args ) { return $result; } - ( new Updater\Updater( $did ) )->run(); - Packages\add_package_to_release_cache( $did ); add_filter( 'http_request_args', 'FAIR\\Packages\\maybe_add_accept_header', 20, 2 ); diff --git a/tests/phpstan-baseline.neon b/tests/phpstan-baseline.neon index 7bacc7c8..8b3b3801 100644 --- a/tests/phpstan-baseline.neon +++ b/tests/phpstan-baseline.neon @@ -18,12 +18,6 @@ parameters: count: 1 path: ../inc/packages/admin/namespace.php - - - message: '#^Class FAIR\\Updater\\Updater does not have a constructor and must be instantiated without any parameters\.$#' - identifier: new.noConstructor - count: 1 - path: ../inc/packages/admin/namespace.php - - message: '#^Unsafe usage of new static\(\)\.$#' identifier: new.static