Skip to content

Commit

Permalink
[ticket/16964] Fix composer installer deprecation notice
Browse files Browse the repository at this point in the history
PHPBB3-16964
  • Loading branch information
rxu committed Feb 8, 2022
1 parent c4e33d4 commit 10199ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpBB/phpbb/composer/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Composer\Composer;
use Composer\DependencyResolver\Request as composer_request;
use Composer\Factory;
use Composer\Filter\PlatformRequirementFilter\PlatformRequirementFilterFactory;
use Composer\IO\IOInterface;
use Composer\IO\NullIO;
use Composer\Json\JsonFile;
Expand Down Expand Up @@ -172,7 +173,7 @@ protected function do_install(array $packages, $whitelist, IOInterface $io = nul
->setUpdate(true)
->setUpdateAllowList($whitelist)
->setUpdateAllowTransitiveDependencies(composer_request::UPDATE_ONLY_LISTED)
->setIgnorePlatformRequirements(false)
->setPlatformRequirementFilter(PlatformRequirementFilterFactory::fromBoolOrList(false))
->setOptimizeAutoloader(true)
->setDumpAutoloader(true)
->setPreferStable(true)
Expand Down

0 comments on commit 10199ae

Please sign in to comment.