Skip to content

Commit 0008aa2

Browse files
deminyderhasi
authored andcommitted
fix deprecated class usage in class \derhasi\Composer\PluginWrapper
1 parent 12124bd commit 0008aa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PluginWrapper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Composer\EventDispatcher\EventSubscriberInterface;
1515
use Composer\IO\IOInterface;
1616
use Composer\Plugin\PluginInterface;
17-
use Composer\Script\PackageEvent;
17+
use Composer\Installer\PackageEvent;
1818
use Composer\Script\ScriptEvents;
1919
use Composer\Util\Filesystem;
2020

@@ -57,7 +57,7 @@ public function __construct(Composer $composer, IOInterface $io)
5757
/**
5858
* Pre Package event behaviour for backing up preserved paths.
5959
*
60-
* @param \Composer\Script\PackageEvent $event
60+
* @param \Composer\Installer\PackageEvent $event
6161
*/
6262
public function prePackage(PackageEvent $event)
6363
{
@@ -82,7 +82,7 @@ public function prePackage(PackageEvent $event)
8282
/**
8383
* Pre Package event behaviour for backing up preserved paths.
8484
*
85-
* @param \Composer\Script\PackageEvent $event
85+
* @param \Composer\Installer\PackageEvent $event
8686
*/
8787
public function postPackage(PackageEvent $event)
8888
{
@@ -100,7 +100,7 @@ public function postPackage(PackageEvent $event)
100100
* In the case of update, the target package is retrieved, as that will
101101
* provide the path the package will be installed to.
102102
*
103-
* @param \Composer\Script\PackageEvent $event
103+
* @param \Composer\Installer\PackageEvent $event
104104
* @return \Composer\Package\PackageInterface[]
105105
* @throws \Exception
106106
*/

0 commit comments

Comments
 (0)