Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Upgrade to flex 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kwivix committed Mar 11, 2019
1 parent 6417771 commit b162a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": "^7.1",
"composer-plugin-api": "^1.1",
"symfony/flex": "^1.1"
"symfony/flex": "^1.2"
},
"require-dev": {
"composer/composer": "^1.8"
Expand Down
1 change: 1 addition & 0 deletions src/ComposerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ private function processPackageEvent(PackageEvent $event)
}

$lock = new Lock(getenv('SYMFONY_LOCKFILE') ?: str_replace('composer.json', 'symfony.lock', Factory::getComposerFile()));

if ($operation instanceof UninstallOperation === true) {
$this->configurator->unconfigure($recipe, $lock);
} else {
Expand Down

0 comments on commit b162a12

Please sign in to comment.