Internal: Use stof/doctrine-extensions-bundle

pull/3513/head
Julio Montoya 5 years ago
parent 9dadb10cb6
commit 646fdf5994
  1. 2
      composer.json
  2. 2
      config/bundles.php
  3. 3
      config/packages/stof_doctrine_extensions.yaml

@ -64,7 +64,7 @@
"ext-zip": "*",
"ext-zlib": "*",
"a2lix/translation-form-bundle": "^3.0",
"antishov/doctrine-extensions-bundle": "~1.4",
"stof/doctrine-extensions-bundle": "~1.4",
"api-platform/api-pack": "^1.2",
"beberlei/doctrineextensions": "^1.2",
"brumann/polyfill-unserialize": "^1.0",

@ -29,7 +29,6 @@ return [
Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::class => ['all' => true],
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
Translation\Bundle\TranslationBundle::class => ['all' => true],
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],
ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
@ -37,4 +36,5 @@ return [
SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
Symplify\ConsoleColorDiff\ConsoleColorDiffBundle::class => ['dev' => true, 'test' => true],
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
];

@ -1,3 +1,5 @@
# Read the documentation: https://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html
# See the official DoctrineExtensions documentation for more details: https://github.com/Atlantic18/DoctrineExtensions/tree/master/doc/
stof_doctrine_extensions:
default_locale: "%locale%"
translation_fallback: true
@ -7,3 +9,4 @@ stof_doctrine_extensions:
timestampable: true
sluggable: true
sortable: true

Loading…
Cancel
Save