Deps reinstall, config fixes, cleaning.

This commit is contained in:
Alexey Skobkin 2019-01-20 05:13:32 +03:00
parent da13c321fe
commit 6a95bbee34
16 changed files with 3077 additions and 466 deletions

14
.gitignore vendored
View File

@ -4,4 +4,16 @@
!/var/cache/.gitkeep
!/var/log/.gitkeep
/vendor/
/.env
/.env
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###
###> symfony/web-server-bundle ###
/.web-server-pid
###< symfony/web-server-bundle ###

View File

@ -18,17 +18,24 @@
"php": ">=7.1.0",
"doctrine/annotations": "^1.3",
"doctrine/doctrine-bundle": "^1.4",
"doctrine/doctrine-fixtures-bundle": "^2.2",
"doctrine/doctrine-migrations-bundle": "^2.0",
"doctrine/orm": "^2.5",
"incenteev/composer-parameter-handler": "^2.0",
"sensio/framework-extra-bundle": "^5",
"sensio/framework-extra-bundle": "^5.2",
"sentry/sentry-symfony": "^2.2",
"symfony/flex": "^1.1",
"symfony/monolog-bundle": "^3.1",
"symfony/form": "^4.2",
"symfony/monolog-bundle": "^3.3",
"symfony/orm-pack": "^1.0",
"symfony/security-bundle": "^4.2",
"symfony/translation": "^4.2",
"symfony/twig-bundle": "^4.2",
"theodordiaconu/geshi": "dev-master",
"theodordiaconu/geshi-bundle": "dev-master"
},"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.1",
"symfony/debug-pack": "^1.0",
"symfony/dotenv": "^4.2",
"symfony/profiler-pack": "^1.0",
"symfony/web-server-bundle": "^4.2"
},
"conflict": {

3265
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
framework:
cache:
# Put the unique name of your app here: the prefix seed
# is used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name
# The app cache caches to the filesystem by default.
# Other options include:
# Redis
#app: cache.adapter.redis
#default_redis_provider: redis://localhost
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
#app: cache.adapter.apcu
# Namespaced pools use the above "app" backend by default
#pools:
#my.dedicated.cache: ~

View File

@ -0,0 +1,4 @@
debug:
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
# See the "server:dump" command to start a new server.
dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%"

View File

@ -0,0 +1,16 @@
services:
EasyCorp\EasyLog\EasyLogHandler:
public: false
arguments: ['%kernel.logs_dir%/%kernel.environment%.log']
#// FIXME: How to add this configuration automatically without messing up with the monolog configuration?
#monolog:
# handlers:
# buffered:
# type: buffer
# handler: easylog
# channels: ['!event']
# level: debug
# easylog:
# type: service
# id: EasyCorp\EasyLog\EasyLogHandler

View File

@ -3,12 +3,8 @@ parameters:
doctrine:
dbal:
default_connection: default
connections:
default:
driver: 'mysqli'
url: '%env(resolve:DATABASE_URL)%'
charset: UTF8
driver: 'mysqli'
url: '%env(resolve:DATABASE_URL)%'
charset: 'UTF8'
orm:
auto_generate_proxy_classes: "%kernel.debug%"

View File

@ -1,3 +0,0 @@
framework:
form: ~
csrf_protection: ~

View File

@ -7,6 +7,5 @@ framework:
handler_id: ~
fragments: ~
http_method_override: true
assets: ~
php_errors:
log: true

View File

@ -1,3 +0,0 @@
framework:
serializer:
enable_annotations: true

View File

@ -0,0 +1,3 @@
framework:
router:
strict_requirements: true

View File

@ -1,3 +0,0 @@
framework:
validation:
enable_annotations: true

View File

@ -0,0 +1,7 @@
web_profiler_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
web_profiler_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler

0
src/Controller/.gitignore vendored Normal file
View File

View File

@ -1,4 +1,61 @@
{
"easycorp/easy-log-handler": {
"version": "1.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.0",
"ref": "70062abc2cd58794d2a90274502f81b55cd9951b"
}
},
"symfony/cache": {
"version": "v4.2.2"
},
"symfony/config": {
"version": "v4.2.2"
},
"symfony/console": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "0fa049c19069a65f52c1c181d64be3de672c1504"
}
},
"symfony/debug": {
"version": "v4.2.2"
},
"symfony/debug-bundle": {
"version": "4.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.1",
"ref": "f8863cbad2f2e58c4b65fa1eac892ab189971bea"
}
},
"symfony/debug-pack": {
"version": "v1.0.7"
},
"symfony/dependency-injection": {
"version": "v4.2.2"
},
"symfony/doctrine-bridge": {
"version": "v4.2.2"
},
"symfony/dotenv": {
"version": "v4.2.2"
},
"symfony/event-dispatcher": {
"version": "v4.2.2"
},
"symfony/filesystem": {
"version": "v4.2.2"
},
"symfony/finder": {
"version": "v4.2.2"
},
"symfony/flex": {
"version": "1.0",
"recipe": {
@ -7,5 +64,128 @@
"version": "1.0",
"ref": "dc3fc2e0334a4137c47cfd5a3ececc601fa61a0b"
}
},
"symfony/form": {
"version": "v4.2.2"
},
"symfony/framework-bundle": {
"version": "4.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.2",
"ref": "5bb3a8c27df824d195fa68bb635d074854f8498f"
}
},
"symfony/http-foundation": {
"version": "v4.2.2"
},
"symfony/http-kernel": {
"version": "v4.2.2"
},
"symfony/inflector": {
"version": "v4.2.2"
},
"symfony/intl": {
"version": "v4.2.2"
},
"symfony/monolog-bridge": {
"version": "v4.2.2"
},
"symfony/options-resolver": {
"version": "v4.2.2"
},
"symfony/orm-pack": {
"version": "v1.0.6"
},
"symfony/process": {
"version": "v4.2.2"
},
"symfony/profiler-pack": {
"version": "v1.0.4"
},
"symfony/property-access": {
"version": "v4.2.2"
},
"symfony/routing": {
"version": "4.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.2",
"ref": "5374e24d508ba8fd6ba9eb15170255fdb778316a"
}
},
"symfony/security-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "f8a63faa0d9521526499c0a8f403c9964ecb0527"
}
},
"symfony/security-core": {
"version": "v4.2.2"
},
"symfony/security-csrf": {
"version": "v4.2.2"
},
"symfony/security-guard": {
"version": "v4.2.2"
},
"symfony/security-http": {
"version": "v4.2.2"
},
"symfony/stopwatch": {
"version": "v4.2.2"
},
"symfony/translation": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "1fb02a6e1c8f3d4232cce485c9afa868d63b115a"
}
},
"symfony/twig-bridge": {
"version": "v4.2.2"
},
"symfony/twig-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "369b5b29dc52b2c190002825ae7ec24ab6f962dd"
}
},
"symfony/var-dumper": {
"version": "v4.2.2"
},
"symfony/var-exporter": {
"version": "v4.2.2"
},
"symfony/web-profiler-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6"
}
},
"symfony/web-server-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "dae9b39fd6717970be7601101ce5aa960bf53d9a"
}
},
"symfony/yaml": {
"version": "v4.2.2"
}
}

0
translations/.gitignore vendored Normal file
View File