Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions inc/packages/admin/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
6 changes: 0 additions & 6 deletions tests/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading