Skip to content

Commit

Permalink
qa: wrap long line flagged by phpcs
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Nov 2, 2020
1 parent fdcff11 commit 09745d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DependencyRewriterV1.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ public function onPrePackageInstallOrUpdate(PackageEvent $event)
$this->replacePackageInOperation($replacementPackage, $operation);
}

private function replacePackageInOperation(PackageInterface $replacement, Operation\OperationInterface $operation): void
{
private function replacePackageInOperation(
PackageInterface $replacement,
Operation\OperationInterface $operation
): void {
$this->updateProperty(
$operation,
$operation instanceof Operation\UpdateOperation ? 'targetPackage' : 'package',
Expand Down

0 comments on commit 09745d7

Please sign in to comment.