Skip to content

Commit

Permalink
Fix issues reported by PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
mcaskill committed Aug 6, 2024
1 parent e5fba99 commit 82de640
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@
use FFraenz\PrivateComposerInstaller\Environment\RepositoryInterface;

use function array_merge;
use function array_replace_recursive;
use function array_search;
use function array_unique;
use function count;
use function is_array;
use function is_string;
use function json_encode;
use function key;
use function preg_match_all;
use function preg_replace;
use function str_replace;
Expand Down Expand Up @@ -250,7 +255,7 @@ public function handlePreDownloadEvent(PreFileDownloadEvent $event): void
// In Composer 1 this step is done upon package install & update
$package = $event->getContext();
$version = $package->getPrettyVersion();
$extra = $package->getExtra()['private-composer-installer'] ?? [];
$extra = $package->getExtra()['private-composer-installer'] ?? [];

$filteredProcessedUrl = $filteredCacheKey =
$this->fulfillVersionPlaceholder(
Expand Down

0 comments on commit 82de640

Please sign in to comment.