Skip to content

Commit

Permalink
fix deprecated class usage in class \derhasi\Composer\PluginWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy authored and derhasi committed Feb 3, 2017
1 parent 12124bd commit 0008aa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PluginWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Composer\EventDispatcher\EventSubscriberInterface;
use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
use Composer\Script\PackageEvent;
use Composer\Installer\PackageEvent;
use Composer\Script\ScriptEvents;
use Composer\Util\Filesystem;

Expand Down Expand Up @@ -57,7 +57,7 @@ public function __construct(Composer $composer, IOInterface $io)
/**
* Pre Package event behaviour for backing up preserved paths.
*
* @param \Composer\Script\PackageEvent $event
* @param \Composer\Installer\PackageEvent $event
*/
public function prePackage(PackageEvent $event)
{
Expand All @@ -82,7 +82,7 @@ public function prePackage(PackageEvent $event)
/**
* Pre Package event behaviour for backing up preserved paths.
*
* @param \Composer\Script\PackageEvent $event
* @param \Composer\Installer\PackageEvent $event
*/
public function postPackage(PackageEvent $event)
{
Expand All @@ -100,7 +100,7 @@ public function postPackage(PackageEvent $event)
* In the case of update, the target package is retrieved, as that will
* provide the path the package will be installed to.
*
* @param \Composer\Script\PackageEvent $event
* @param \Composer\Installer\PackageEvent $event
* @return \Composer\Package\PackageInterface[]
* @throws \Exception
*/
Expand Down

0 comments on commit 0008aa2

Please sign in to comment.