Skip to content

Commit

Permalink
chore: fix some indirect deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Aug 2, 2022
1 parent 4c938fc commit ccbf6fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions tests/Fixtures/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
],
'messenger' => $messengerConfig,
'router' => ['utf8' => true],
'http_method_override' => false,
]);

$alg = class_exists(NativePasswordHasher::class, false) || class_exists('Symfony\Component\Security\Core\Encoder\NativePasswordEncoder') ? 'auto' : 'bcrypt';
Expand Down
10 changes: 4 additions & 6 deletions tests/Fixtures/app/config/config_common.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
doctrine:
dbal:
driver: 'pdo_sqlite'
path: '%kernel.cache_dir%/db.sqlite'
charset: 'UTF8'
charset: 'UTF8'
types:
uuid: Ramsey\Uuid\Doctrine\UuidType
uuid: Ramsey\Uuid\Doctrine\UuidType
symfony_uuid: Symfony\Bridge\Doctrine\Types\UuidType

orm:
auto_generate_proxy_classes: '%kernel.debug%'
auto_generate_proxy_classes: '%kernel.debug%'
mappings:
TestBundle:
TestBundle:
type: 'attribute'

web_profiler:
Expand Down
1 change: 0 additions & 1 deletion tests/Fixtures/app/config/config_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctrine:
dbal:
driver: pdo_mysql
url: '%env(resolve:DATABASE_URL)%'
path: ~
server_version: '%env(MYSQL_VERSION)%'
types:
uuid: Ramsey\Uuid\Doctrine\UuidType
Expand Down
1 change: 0 additions & 1 deletion tests/Fixtures/app/config/config_postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctrine:
dbal:
driver: pdo_pgsql
url: '%env(resolve:DATABASE_URL)%'
path: ~
server_version: '%env(POSTGRES_VERSION)%'
types:
uuid: Ramsey\Uuid\Doctrine\UuidType
Expand Down

0 comments on commit ccbf6fb

Please sign in to comment.