mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #9 from rxu/ticket/16964-master
[ticket/16964] Fix Postgres platform installation error and composer installer deprecation notice
This commit is contained in:
commit
772ae34ccc
2 changed files with 4 additions and 3 deletions
|
@ -16,6 +16,7 @@ namespace phpbb\composer;
|
|||
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;
|
||||
|
@ -172,7 +173,7 @@ class installer
|
|||
->setUpdate(true)
|
||||
->setUpdateAllowList($whitelist)
|
||||
->setUpdateAllowTransitiveDependencies(composer_request::UPDATE_ONLY_LISTED)
|
||||
->setIgnorePlatformRequirements(false)
|
||||
->setPlatformRequirementFilter(PlatformRequirementFilterFactory::fromBoolOrList(false))
|
||||
->setOptimizeAutoloader(true)
|
||||
->setDumpAutoloader(true)
|
||||
->setPreferStable(true)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
namespace phpbb\db\doctrine;
|
||||
|
||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
|
||||
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
|
||||
use Doctrine\DBAL\Schema\Index;
|
||||
use Doctrine\DBAL\Schema\Sequence;
|
||||
use Doctrine\DBAL\Schema\Table;
|
||||
|
@ -31,7 +31,7 @@ use Doctrine\DBAL\Types\Type;
|
|||
* to stay compatible with the existing DB we have to change its
|
||||
* naming and not ours.
|
||||
*/
|
||||
class postgresql_platform extends PostgreSQLPlatform
|
||||
class postgresql_platform extends PostgreSQL94Platform
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
Loading…
Add table
Reference in a new issue