From 713099333c32ae28c6925243afba15fc761928d2 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 20 Jan 2019 05:55:58 +0300 Subject: [PATCH] More deps reinstall. --- config/bundles.php | 3 +- config/packages/prod/doctrine.yaml | 32 +++++ config/packages/sensio_framework_extra.yaml | 2 +- config/routes/annotations.yaml | 3 + src/Entity/.gitignore | 0 src/Migrations/.gitignore | 0 src/Repository/.gitignore | 0 symfony.lock | 144 ++++++++++++++++++++ 8 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 config/packages/prod/doctrine.yaml create mode 100644 config/routes/annotations.yaml create mode 100644 src/Entity/.gitignore create mode 100644 src/Migrations/.gitignore create mode 100644 src/Repository/.gitignore diff --git a/config/bundles.php b/config/bundles.php index d271724..1bff153 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -6,7 +6,6 @@ return [ Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], - Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], DT\Bundle\GeshiBundle\DTGeshiBundle::class => ['all' => true], Sentry\SentryBundle\SentryBundle::class => ['all' => true], Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], @@ -14,4 +13,6 @@ return [ Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true], + Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true], + Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], ]; diff --git a/config/packages/prod/doctrine.yaml b/config/packages/prod/doctrine.yaml new file mode 100644 index 0000000..0a7c53b --- /dev/null +++ b/config/packages/prod/doctrine.yaml @@ -0,0 +1,32 @@ +doctrine: + orm: + auto_generate_proxy_classes: false + metadata_cache_driver: + type: service + id: doctrine.system_cache_provider + query_cache_driver: + type: service + id: doctrine.system_cache_provider + result_cache_driver: + type: service + id: doctrine.result_cache_provider + +services: + doctrine.result_cache_provider: + class: Symfony\Component\Cache\DoctrineProvider + public: false + arguments: + - '@doctrine.result_cache_pool' + doctrine.system_cache_provider: + class: Symfony\Component\Cache\DoctrineProvider + public: false + arguments: + - '@doctrine.system_cache_pool' + +framework: + cache: + pools: + doctrine.result_cache_pool: + adapter: cache.app + doctrine.system_cache_pool: + adapter: cache.system diff --git a/config/packages/sensio_framework_extra.yaml b/config/packages/sensio_framework_extra.yaml index 20e5cf3..1821ccc 100644 --- a/config/packages/sensio_framework_extra.yaml +++ b/config/packages/sensio_framework_extra.yaml @@ -1,3 +1,3 @@ sensio_framework_extra: router: - annotations: false \ No newline at end of file + annotations: false diff --git a/config/routes/annotations.yaml b/config/routes/annotations.yaml new file mode 100644 index 0000000..89e306b --- /dev/null +++ b/config/routes/annotations.yaml @@ -0,0 +1,3 @@ +#controllers: +# resource: ../../src/Controller/ +# type: annotation diff --git a/src/Entity/.gitignore b/src/Entity/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/src/Migrations/.gitignore b/src/Migrations/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/src/Repository/.gitignore b/src/Repository/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/symfony.lock b/symfony.lock index e5cd7a9..a709f77 100644 --- a/symfony.lock +++ b/symfony.lock @@ -1,7 +1,40 @@ { + "doctrine/annotations": { + "version": "1.0", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "master", + "version": "1.0", + "ref": "cb4152ebcadbe620ea2261da1a1c5a9b8cea7672" + } + }, + "doctrine/cache": { + "version": "v1.8.0" + }, + "doctrine/collections": { + "version": "v1.5.0" + }, + "doctrine/common": { + "version": "v2.10.0" + }, "doctrine/data-fixtures": { "version": "v1.3.1" }, + "doctrine/dbal": { + "version": "v2.9.2" + }, + "doctrine/doctrine-bundle": { + "version": "1.6", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "master", + "version": "1.6", + "ref": "453e89b78ded666f351617baca5ae40d20622351" + } + }, + "doctrine/doctrine-cache-bundle": { + "version": "1.3.5" + }, "doctrine/doctrine-fixtures-bundle": { "version": "3.0", "recipe": { @@ -11,6 +44,39 @@ "ref": "fc52d86631a6dfd9fdf3381d0b7e3df2069e51b3" } }, + "doctrine/doctrine-migrations-bundle": { + "version": "1.2", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "master", + "version": "1.2", + "ref": "c1431086fec31f17fbcfe6d6d7e92059458facc1" + } + }, + "doctrine/event-manager": { + "version": "v1.0.0" + }, + "doctrine/inflector": { + "version": "v1.3.0" + }, + "doctrine/instantiator": { + "version": "1.1.0" + }, + "doctrine/lexer": { + "version": "v1.0.1" + }, + "doctrine/migrations": { + "version": "v2.0.0" + }, + "doctrine/orm": { + "version": "v2.6.3" + }, + "doctrine/persistence": { + "version": "v1.1.0" + }, + "doctrine/reflection": { + "version": "v1.0.0" + }, "easycorp/easy-log-handler": { "version": "1.0", "recipe": { @@ -20,9 +86,60 @@ "ref": "70062abc2cd58794d2a90274502f81b55cd9951b" } }, + "fig/link-util": { + "version": "1.0.0" + }, + "jdorn/sql-formatter": { + "version": "v1.2.17" + }, + "jean85/pretty-package-versions": { + "version": "1.2" + }, "monolog/monolog": { "version": "1.24.0" }, + "ocramius/proxy-manager": { + "version": "2.2.2" + }, + "paragonie/random_compat": { + "version": "v9.99.99" + }, + "psr/cache": { + "version": "1.0.1" + }, + "psr/container": { + "version": "1.0.0" + }, + "psr/link": { + "version": "1.0.0" + }, + "psr/log": { + "version": "1.1.0" + }, + "psr/simple-cache": { + "version": "1.0.1" + }, + "sensio/framework-extra-bundle": { + "version": "5.2", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "master", + "version": "5.2", + "ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b" + } + }, + "sentry/sentry": { + "version": "1.10.0" + }, + "sentry/sentry-symfony": { + "version": "1.0", + "recipe": { + "repo": "github.com/symfony/recipes-contrib", + "branch": "master", + "version": "1.0", + "ref": "fa1a2dfc020798cd7076b5419596e72dca07047a" + } + }, "symfony/cache": { "version": "v4.2.2" }, @@ -38,6 +155,9 @@ "ref": "0fa049c19069a65f52c1c181d64be3de672c1504" } }, + "symfony/contracts": { + "version": "v1.0.2" + }, "symfony/debug": { "version": "v4.2.2" }, @@ -122,6 +242,15 @@ "symfony/orm-pack": { "version": "v1.0.6" }, + "symfony/polyfill-ctype": { + "version": "v1.10.0" + }, + "symfony/polyfill-intl-icu": { + "version": "v1.10.0" + }, + "symfony/polyfill-mbstring": { + "version": "v1.10.0" + }, "symfony/polyfill-php72": { "version": "v1.10.0" }, @@ -214,5 +343,20 @@ }, "symfony/yaml": { "version": "v4.2.2" + }, + "theodordiaconu/geshi": { + "version": "dev-master" + }, + "theodordiaconu/geshi-bundle": { + "version": "dev-master" + }, + "twig/twig": { + "version": "v2.6.2" + }, + "zendframework/zend-code": { + "version": "3.3.1" + }, + "zendframework/zend-eventmanager": { + "version": "3.2.1" } }