Add missing config stuff

This commit is contained in:
Timothy Warren 2022-02-17 14:49:33 -05:00
parent cebc5bd7b4
commit 426d30ebc0
16 changed files with 2485 additions and 2346 deletions

View File

@ -2,22 +2,30 @@
"type": "project", "type": "project",
"license": "proprietary", "license": "proprietary",
"require": { "require": {
"php": "^7.4.0", "php": "^8.0.0",
"sensio/framework-extra-bundle": "^5.2", "composer/package-versions-deprecated": "1.11.99.5",
"symfony/debug-pack": "^1.0", "doctrine/doctrine-bundle": "^2",
"symfony/form": "^5.1", "doctrine/doctrine-migrations-bundle": "^2",
"doctrine/orm": "^2",
"sensio/framework-extra-bundle": "^6.2.6",
"symfony/form": "^6.0.3",
"symfony/maker-bundle": "^1.0", "symfony/maker-bundle": "^1.0",
"symfony/orm-pack": "^1.0", "symfony/monolog-bundle": "^3.0",
"symfony/translation": "^5.1", "symfony/translation": "^6.0.3",
"symfony/twig-pack": "1.0.0", "symfony/twig-bundle": "^6.0",
"symfony/validator": "^5.1", "symfony/validator": "^6.0.3",
"symfony/yaml": "^5.1" "symfony/yaml": "^6.0.3",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"
}, },
"require-dev": { "require-dev": {
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"symfony/debug": "^4.4.9", "symfony/debug": "^4.4.9",
"symfony/dotenv": "^5.1", "symfony/debug-bundle": "^6.0",
"symfony/flex": "^1.0" "symfony/dotenv": "^6.0.3",
"symfony/flex": "^2.1.6",
"symfony/stopwatch": "^5.4",
"symfony/web-profiler-bundle": "^6.0"
}, },
"config": { "config": {
"preferred-install": { "preferred-install": {

4404
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
framework:
cache:
# Unique name of your app: used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name
# The "app" cache stores to the filesystem by default.
# The data in this cache should persist between deploys.
# 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: null

View File

@ -1,5 +1,6 @@
doctrine_migrations: doctrine_migrations:
dir_name: '%kernel.project_dir%/src/Migrations' migrations_paths:
- '%kernel.project_dir%/src/Migrations'
# namespace is arbitrary but should be different from App\Migrations # namespace is arbitrary but should be different from App\Migrations
# as migrations classes should NOT be autoloaded # as migrations classes should NOT be autoloaded
namespace: DoctrineMigrations # namespace: DoctrineMigrations

View File

@ -9,6 +9,7 @@ framework:
session: session:
# With this config, PHP's native session handling is used # With this config, PHP's native session handling is used
handler_id: ~ handler_id: ~
#storage_id: session.storage.factory.native
#esi: ~ #esi: ~
#fragments: ~ #fragments: ~

View File

@ -0,0 +1,8 @@
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
#monolog:
# channels: [deprecation]
# handlers:
# deprecation:
# type: stream
# channels: [deprecation]
# path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"

View File

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

View File

@ -0,0 +1,2 @@
twig:
strict_variables: true

5
config/preload.php Normal file
View File

@ -0,0 +1,5 @@
<?php
if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
}

3
config/routes.yaml Normal file
View File

@ -0,0 +1,3 @@
#index:
# path: /
# controller: App\Controller\DefaultController::index

View File

@ -0,0 +1,3 @@
_errors:
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
prefix: /_error

0
migrations/.gitignore vendored Normal file
View File

5
src/.preload.php Normal file
View File

@ -0,0 +1,5 @@
<?php
if (file_exists(__DIR__.'/../var/cache/dev/App_KernelDevDebugContainer.preload.php')) {
require __DIR__.'/../var/cache/dev/App_KernelDevDebugContainer.preload.php';
}

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

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

View File

@ -1,93 +1,97 @@
{ {
"composer/package-versions-deprecated": {
"version": "1.11.99.3"
},
"doctrine/annotations": { "doctrine/annotations": {
"version": "1.0", "version": "1.0",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "1.0", "version": "1.0",
"ref": "b9cde490c337f6c496d5f403fa6f827cf8b4706d" "ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
} },
"files": [
"config/routes/annotations.yaml"
]
}, },
"doctrine/cache": { "doctrine/cache": {
"version": "v1.7.1" "version": "1.10.2"
}, },
"doctrine/collections": { "doctrine/collections": {
"version": "v1.5.0" "version": "1.6.7"
}, },
"doctrine/common": { "doctrine/common": {
"version": "v2.8.1" "version": "2.13.3"
}, },
"doctrine/dbal": { "doctrine/dbal": {
"version": "v2.6.3" "version": "2.12.1"
},
"doctrine/deprecations": {
"version": "v0.5.3"
}, },
"doctrine/doctrine-bundle": { "doctrine/doctrine-bundle": {
"version": "1.6", "version": "2.0",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "1.6", "version": "2.0",
"ref": "44d3aa7752dd46f77ba11af2297a25e1dedfb4d0" "ref": "40631978d2c4adc9b11220b13eba539b727c36a8"
} },
"files": [
"config/packages/doctrine.yaml",
"config/packages/prod/doctrine.yaml",
"src/Entity/.gitignore",
"src/Repository/.gitignore"
]
}, },
"doctrine/doctrine-migrations-bundle": { "doctrine/doctrine-migrations-bundle": {
"version": "1.2", "version": "2.2",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "1.2", "version": "2.2",
"ref": "c1431086fec31f17fbcfe6d6d7e92059458facc1" "ref": "baaa439e3e3179e69e3da84b671f0a3e4a2f56ad"
} },
"files": [
"config/packages/doctrine_migrations.yaml",
"migrations/.gitignore"
]
}, },
"doctrine/event-manager": { "doctrine/event-manager": {
"version": "v1.0.0" "version": "1.1.1"
}, },
"doctrine/inflector": { "doctrine/inflector": {
"version": "v1.2.0" "version": "1.4.3"
}, },
"doctrine/instantiator": { "doctrine/instantiator": {
"version": "1.1.0" "version": "1.4.0"
}, },
"doctrine/lexer": { "doctrine/lexer": {
"version": "v1.0.1" "version": "1.2.1"
}, },
"doctrine/migrations": { "doctrine/migrations": {
"version": "v1.8.1" "version": "2.3.2"
}, },
"doctrine/orm": { "doctrine/orm": {
"version": "v2.5.13" "version": "2.7.5"
}, },
"doctrine/persistence": { "doctrine/persistence": {
"version": "v1.0.0" "version": "1.3.8"
},
"doctrine/reflection": {
"version": "v1.0.0"
}, },
"doctrine/sql-formatter": { "doctrine/sql-formatter": {
"version": "1.0.1" "version": "1.1.1"
},
"friendsofphp/proxy-manager-lts": {
"version": "v1.0.3"
}, },
"laminas/laminas-code": { "laminas/laminas-code": {
"version": "3.4.1" "version": "4.0.0"
},
"laminas/laminas-eventmanager": {
"version": "3.2.1"
},
"laminas/laminas-zendframework-bridge": {
"version": "1.0.0"
}, },
"monolog/monolog": { "monolog/monolog": {
"version": "1.23.0"
},
"nikic/php-parser": {
"version": "v4.0.0"
},
"ocramius/package-versions": {
"version": "1.3.0"
},
"ocramius/proxy-manager": {
"version": "2.2.0" "version": "2.2.0"
}, },
"php": { "nikic/php-parser": {
"version": "7.4" "version": "v4.10.4"
}, },
"psr/cache": { "psr/cache": {
"version": "1.0.1" "version": "1.0.1"
@ -99,7 +103,7 @@
"version": "1.0.0" "version": "1.0.0"
}, },
"psr/log": { "psr/log": {
"version": "1.0.2" "version": "1.1.3"
}, },
"roave/security-advisories": { "roave/security-advisories": {
"version": "dev-master" "version": "dev-master"
@ -111,28 +115,34 @@
"branch": "master", "branch": "master",
"version": "5.2", "version": "5.2",
"ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b" "ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b"
} },
"files": [
"config/packages/sensio_framework_extra.yaml"
]
}, },
"symfony/cache": { "symfony/cache": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/cache-contracts": { "symfony/cache-contracts": {
"version": "v1.1.1" "version": "v2.2.0"
}, },
"symfony/config": { "symfony/config": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/console": { "symfony/console": {
"version": "3.3", "version": "5.1",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "3.3", "version": "5.1",
"ref": "9f94d3ea453cd8a3b95db7f82592d7344fe3a76a" "ref": "c6d02bdfba9da13c22157520e32a602dbee8a75c"
} },
"files": [
"bin/console"
]
}, },
"symfony/debug": { "symfony/debug": {
"version": "v4.4.9" "version": "v4.4.19"
}, },
"symfony/debug-bundle": { "symfony/debug-bundle": {
"version": "4.1", "version": "4.1",
@ -141,37 +151,37 @@
"branch": "master", "branch": "master",
"version": "4.1", "version": "4.1",
"ref": "f8863cbad2f2e58c4b65fa1eac892ab189971bea" "ref": "f8863cbad2f2e58c4b65fa1eac892ab189971bea"
} },
}, "files": [
"symfony/debug-pack": { "config/packages/dev/debug.yaml"
"version": "v1.0.5" ]
}, },
"symfony/dependency-injection": { "symfony/dependency-injection": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/deprecation-contracts": { "symfony/deprecation-contracts": {
"version": "v2.1.2" "version": "v2.2.0"
}, },
"symfony/doctrine-bridge": { "symfony/doctrine-bridge": {
"version": "v4.0.0" "version": "v5.1.11"
}, },
"symfony/dotenv": { "symfony/dotenv": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/error-handler": { "symfony/error-handler": {
"version": "v4.4.0" "version": "v5.2.3"
}, },
"symfony/event-dispatcher": { "symfony/event-dispatcher": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/event-dispatcher-contracts": { "symfony/event-dispatcher-contracts": {
"version": "v1.1.1" "version": "v2.2.0"
}, },
"symfony/filesystem": { "symfony/filesystem": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/finder": { "symfony/finder": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/flex": { "symfony/flex": {
"version": "1.0", "version": "1.0",
@ -179,32 +189,40 @@
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "1.0", "version": "1.0",
"ref": "e921bdbfe20cdefa3b82f379d1cd36df1bc8d115" "ref": "c0eeb50665f0f77226616b6038a9b06c03752d8e"
} },
"files": [
".env"
]
}, },
"symfony/form": { "symfony/form": {
"version": "v4.0.0" "version": "v5.2.3"
}, },
"symfony/framework-bundle": { "symfony/framework-bundle": {
"version": "3.3", "version": "5.2",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "3.3", "version": "5.2",
"ref": "305b268e55e75059f20ec9827a8fd09a35c59866" "ref": "6ec87563dcc85cd0c48856dcfbfc29610506d250"
} },
"files": [
"config/packages/cache.yaml",
"config/packages/framework.yaml",
"config/packages/test/framework.yaml",
"config/preload.php",
"config/routes/dev/framework.yaml",
"config/services.yaml",
"public/index.php",
"src/Controller/.gitignore",
"src/Kernel.php"
]
}, },
"symfony/http-foundation": { "symfony/http-foundation": {
"version": "v3.3.13" "version": "v5.2.3"
}, },
"symfony/http-kernel": { "symfony/http-kernel": {
"version": "v3.3.13" "version": "v5.2.3"
},
"symfony/inflector": {
"version": "v4.0.0"
},
"symfony/intl": {
"version": "v4.0.0"
}, },
"symfony/maker-bundle": { "symfony/maker-bundle": {
"version": "1.0", "version": "1.0",
@ -216,70 +234,81 @@
} }
}, },
"symfony/monolog-bridge": { "symfony/monolog-bridge": {
"version": "v4.1.1" "version": "v5.2.3"
}, },
"symfony/monolog-bundle": { "symfony/monolog-bundle": {
"version": "3.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.1",
"ref": "51b7a31438c8aeeda7931a0ece98a945c91e7f20"
}
},
"symfony/options-resolver": {
"version": "v4.0.0"
},
"symfony/orm-pack": {
"version": "v1.0.5"
},
"symfony/polyfill-ctype": {
"version": "v1.8.0"
},
"symfony/polyfill-intl-grapheme": {
"version": "v1.17.0"
},
"symfony/polyfill-intl-icu": {
"version": "v1.6.0"
},
"symfony/polyfill-intl-normalizer": {
"version": "v1.17.0"
},
"symfony/polyfill-mbstring": {
"version": "v1.6.0"
},
"symfony/polyfill-php73": {
"version": "v1.11.0"
},
"symfony/polyfill-php80": {
"version": "v1.17.0"
},
"symfony/profiler-pack": {
"version": "v1.0.3"
},
"symfony/property-access": {
"version": "v4.0.0"
},
"symfony/property-info": {
"version": "v5.1.0"
},
"symfony/routing": {
"version": "3.3", "version": "3.3",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "3.3", "version": "3.3",
"ref": "a249484db698d1a847a30291c8f732414ac47e25" "ref": "d7249f7d560f6736115eee1851d02a65826f0a56"
} },
"files": [
"config/packages/dev/monolog.yaml",
"config/packages/prod/deprecations.yaml",
"config/packages/prod/monolog.yaml",
"config/packages/test/monolog.yaml"
]
},
"symfony/options-resolver": {
"version": "v5.2.3"
},
"symfony/polyfill-ctype": {
"version": "v1.22.1"
},
"symfony/polyfill-intl-grapheme": {
"version": "v1.22.1"
},
"symfony/polyfill-intl-icu": {
"version": "v1.22.1"
},
"symfony/polyfill-intl-normalizer": {
"version": "v1.22.1"
},
"symfony/polyfill-mbstring": {
"version": "v1.22.1"
},
"symfony/polyfill-php72": {
"version": "v1.24.0"
},
"symfony/polyfill-php73": {
"version": "v1.22.1"
},
"symfony/polyfill-php80": {
"version": "v1.22.1"
},
"symfony/polyfill-php81": {
"version": "v1.23.0"
},
"symfony/property-access": {
"version": "v5.2.3"
},
"symfony/property-info": {
"version": "v5.2.3"
},
"symfony/routing": {
"version": "5.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "5.1",
"ref": "b4f3e7c95e38b606eef467e8a42a8408fc460c43"
},
"files": [
"config/packages/prod/routing.yaml",
"config/packages/routing.yaml",
"config/routes.yaml"
]
}, },
"symfony/service-contracts": { "symfony/service-contracts": {
"version": "v1.1.2" "version": "v2.2.0"
}, },
"symfony/stopwatch": { "symfony/stopwatch": {
"version": "v4.1.1" "version": "v5.2.3"
}, },
"symfony/string": { "symfony/string": {
"version": "v5.1.0" "version": "v5.2.3"
}, },
"symfony/translation": { "symfony/translation": {
"version": "3.3", "version": "3.3",
@ -287,7 +316,7 @@
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "3.3", "version": "3.3",
"ref": "1fb02a6e1c8f3d4232cce485c9afa868d63b115a" "ref": "2ad9d2545bce8ca1a863e50e92141f0b9d87ffcd"
}, },
"files": [ "files": [
"config/packages/translation.yaml", "config/packages/translation.yaml",
@ -295,22 +324,24 @@
] ]
}, },
"symfony/translation-contracts": { "symfony/translation-contracts": {
"version": "v1.1.2" "version": "v2.3.0"
}, },
"symfony/twig-bridge": { "symfony/twig-bridge": {
"version": "v4.0.0" "version": "v5.2.3"
}, },
"symfony/twig-bundle": { "symfony/twig-bundle": {
"version": "3.3", "version": "5.0",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "master",
"version": "3.3", "version": "5.0",
"ref": "f75ac166398e107796ca94cc57fa1edaa06ec47f" "ref": "fab9149bbaa4d5eca054ed93f9e1b66cc500895d"
} },
}, "files": [
"symfony/twig-pack": { "config/packages/test/twig.yaml",
"version": "v1.0.0" "config/packages/twig.yaml",
"templates/base.html.twig"
]
}, },
"symfony/validator": { "symfony/validator": {
"version": "4.3", "version": "4.3",
@ -326,10 +357,10 @@
] ]
}, },
"symfony/var-dumper": { "symfony/var-dumper": {
"version": "v4.1.1" "version": "v5.2.3"
}, },
"symfony/var-exporter": { "symfony/var-exporter": {
"version": "v4.2.0" "version": "v5.2.3"
}, },
"symfony/web-profiler-bundle": { "symfony/web-profiler-bundle": {
"version": "3.3", "version": "3.3",
@ -338,24 +369,20 @@
"branch": "master", "branch": "master",
"version": "3.3", "version": "3.3",
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6" "ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6"
} },
"files": [
"config/packages/dev/web_profiler.yaml",
"config/packages/test/web_profiler.yaml",
"config/routes/dev/web_profiler.yaml"
]
}, },
"symfony/yaml": { "symfony/yaml": {
"version": "v5.0.7" "version": "v5.2.3"
}, },
"twig/extra-bundle": { "twig/extra-bundle": {
"version": "v3.0.3" "version": "v3.3.0"
}, },
"twig/twig": { "twig/twig": {
"version": "v2.4.4" "version": "v3.3.0"
},
"webimpress/safe-writer": {
"version": "2.0.0"
},
"zendframework/zend-code": {
"version": "3.3.0"
},
"zendframework/zend-eventmanager": {
"version": "3.2.1"
} }
} }