update to 6.3

This commit is contained in:
Marko 2023-09-19 17:15:26 +02:00
parent a4afe5cf20
commit c937360605
No known key found for this signature in database
11 changed files with 766 additions and 636 deletions

3
.env
View File

@ -24,7 +24,8 @@ APP_SECRET=e5a2fe31ff8ce325266d52632a0ba5df
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
# #
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ### ###< doctrine/doctrine-bundle ###

View File

@ -8,13 +8,13 @@
<jdbc-url>jdbc:mysql://127.0.0.1:3306</jdbc-url> <jdbc-url>jdbc:mysql://127.0.0.1:3306</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir> <working-dir>$ProjectFileDir$</working-dir>
</data-source> </data-source>
<data-source source="LOCAL" name="DDEV" uuid="f9b8109c-04b4-4f00-b2d6-58b0d686e361"> <data-source source="LOCAL" name="DDEV" uuid="5334865a-0afb-4bee-bdea-8112a8ca3fb7">
<driver-ref>mariadb</driver-ref> <driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize> <synchronize>true</synchronize>
<configured-by-url>true</configured-by-url> <configured-by-url>true</configured-by-url>
<remarks>DDEV generated data source</remarks> <remarks>DDEV generated data source</remarks>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver> <jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://127.0.0.1:56105/db?user=db&amp;password=db</jdbc-url> <jdbc-url>jdbc:mariadb://127.0.0.1:60219/db?user=db&amp;password=db</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir> <working-dir>$ProjectFileDir$</working-dir>
</data-source> </data-source>
</component> </component>

View File

@ -136,6 +136,9 @@
<path value="$PROJECT_DIR$/vendor/symfony/slack-notifier" /> <path value="$PROJECT_DIR$/vendor/symfony/slack-notifier" />
<path value="$PROJECT_DIR$/vendor/symfony/http-client" /> <path value="$PROJECT_DIR$/vendor/symfony/http-client" />
<path value="$PROJECT_DIR$/vendor/symfony/apache-pack" /> <path value="$PROJECT_DIR$/vendor/symfony/apache-pack" />
<path value="$PROJECT_DIR$/vendor/symfony/clock" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php83" />
<path value="$PROJECT_DIR$/vendor/psr/clock" />
</include_path> </include_path>
</component> </component>
<component name="PhpInterpreters"> <component name="PhpInterpreters">

View File

@ -19,36 +19,36 @@
"phpdocumentor/reflection-docblock": "^5.3", "phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.6", "phpstan/phpdoc-parser": "^1.6",
"symfony/apache-pack": "^1.0", "symfony/apache-pack": "^1.0",
"symfony/asset": "6.1.*", "symfony/asset": "6.3.*",
"symfony/console": "6.1.*", "symfony/console": "6.3.*",
"symfony/dotenv": "6.1.*", "symfony/dotenv": "6.3.*",
"symfony/expression-language": "6.1.*", "symfony/expression-language": "6.3.*",
"symfony/filesystem": "6.1.*", "symfony/filesystem": "6.3.*",
"symfony/flex": "^2", "symfony/flex": "^2",
"symfony/form": "6.1.*", "symfony/form": "6.3.*",
"symfony/framework-bundle": "6.1.*", "symfony/framework-bundle": "6.3.*",
"symfony/notifier": "6.1.*", "symfony/notifier": "6.3.*",
"symfony/property-access": "6.1.*", "symfony/property-access": "6.3.*",
"symfony/property-info": "6.1.*", "symfony/property-info": "6.3.*",
"symfony/proxy-manager-bridge": "6.1.*", "symfony/proxy-manager-bridge": "6.3.*",
"symfony/runtime": "6.1.*", "symfony/runtime": "6.3.*",
"symfony/security-bundle": "6.1.*", "symfony/security-bundle": "6.3.*",
"symfony/serializer": "6.1.*", "symfony/serializer": "6.3.*",
"symfony/slack-notifier": "6.1.*", "symfony/slack-notifier": "6.3.*",
"symfony/twig-bundle": "6.1.*", "symfony/twig-bundle": "6.3.*",
"symfony/validator": "6.1.*", "symfony/validator": "6.3.*",
"symfony/yaml": "6.1.*" "symfony/yaml": "6.3.*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"symfony/browser-kit": "6.1.*", "symfony/browser-kit": "6.3.*",
"symfony/css-selector": "6.1.*", "symfony/css-selector": "6.3.*",
"symfony/debug-bundle": "6.1.*", "symfony/debug-bundle": "6.3.*",
"symfony/maker-bundle": "^1.48", "symfony/maker-bundle": "^1.48",
"symfony/monolog-bundle": "^3.0", "symfony/monolog-bundle": "^3.0",
"symfony/phpunit-bridge": "^6.1", "symfony/phpunit-bridge": "^6.3",
"symfony/stopwatch": "6.1.*", "symfony/stopwatch": "6.3.*",
"symfony/web-profiler-bundle": "6.1.*" "symfony/web-profiler-bundle": "6.3.*"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {
@ -100,7 +100,7 @@
"extra": { "extra": {
"symfony": { "symfony": {
"allow-contrib": false, "allow-contrib": false,
"require": "6.1.*" "require": "6.3.*"
} }
} }
} }

1287
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,13 @@ doctrine:
# IMPORTANT: You MUST configure your server version, # IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file) # either here or in the DATABASE_URL env var (see .env file)
#server_version: '15' #server_version: '15'
profiling_collect_backtrace: '%kernel.debug%'
orm: orm:
auto_generate_proxy_classes: true auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true auto_mapping: true
mappings: mappings:

View File

@ -3,6 +3,7 @@ framework:
secret: '%env(APP_SECRET)%' secret: '%env(APP_SECRET)%'
#csrf_protection: true #csrf_protection: true
http_method_override: false http_method_override: false
handle_all_throwables: true
# Enables session support. Note that the session will ONLY be started if you read or write from it. # Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support. # Remove or comment this section to explicitly disable session support.

View File

@ -1,11 +1,7 @@
framework: framework:
notifier: notifier:
chatter_transports: chatter_transports:
slack: '%env(SLACK_DSN)%' texter_transports:
# telegram: '%env(TELEGRAM_DSN)%'
#texter_transports:
# twilio: '%env(TWILIO_DSN)%'
# nexmo: '%env(NEXMO_DSN)%'
channel_policy: channel_policy:
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo # use chat/slack, chat/telegram, sms/twilio or sms/nexmo
urgent: ['slack'] urgent: ['slack']

View File

@ -33,10 +33,6 @@
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" /> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners> </listeners>
<!-- Run `composer require symfony/panther` before enabling this extension -->
<!--
<extensions> <extensions>
<extension class="Symfony\Component\Panther\ServerExtension" />
</extensions> </extensions>
-->
</phpunit> </phpunit>

View File

@ -20,11 +20,11 @@ class SlackNotifySubscriber implements EventSubscriberInterface
public $slack; public $slack;
public $logger; public $logger;
public function __construct(ChatterInterface $chatter, LoggerInterface $logger) // public function __construct(ChatterInterface $chatter, LoggerInterface $logger)
{ // {
$this->slack = new Slack($chatter); // $this->slack = new Slack($chatter);
$this->logger = $logger; // $this->logger = $logger;
} // }
public static function getSubscribedEvents(): array public static function getSubscribedEvents(): array
{ {

View File

@ -4,10 +4,11 @@
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "3.0", "version": "3.1",
"ref": "0330386d716d3eecc52ee5ac66976e733eb8f961" "ref": "adf0c75f4bed8b0043a6680376323404953578c5"
}, },
"files": [ "files": [
"config/packages/api_platform.yaml",
"config/routes/api_platform.yaml", "config/routes/api_platform.yaml",
"src/ApiResource/.gitignore" "src/ApiResource/.gitignore"
] ]
@ -22,12 +23,12 @@
} }
}, },
"doctrine/doctrine-bundle": { "doctrine/doctrine-bundle": {
"version": "2.9", "version": "2.10",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "2.4", "version": "2.10",
"ref": "013b823e7fee65890b23e40f31e6667a1ac519ac" "ref": "e025a6cb69b195970543820b2f18ad21724473fa"
}, },
"files": [ "files": [
"config/packages/doctrine.yaml", "config/packages/doctrine.yaml",
@ -65,8 +66,8 @@
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "9.3", "version": "9.6",
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6" "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
}, },
"files": [ "files": [
".env.test", ".env.test",
@ -123,12 +124,12 @@
] ]
}, },
"symfony/framework-bundle": { "symfony/framework-bundle": {
"version": "6.1", "version": "6.3",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "5.4", "version": "6.2",
"ref": "3cd216a4d007b78d8554d44a5b1c0a446dab24fb" "ref": "af47254c5e4cd543e6af3e4508298ffebbdaddd3"
}, },
"files": [ "files": [
"config/packages/cache.yaml", "config/packages/cache.yaml",
@ -168,7 +169,7 @@
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "5.0", "version": "5.0",
"ref": "c31585e252b32fe0e1f30b1f256af553f4a06eb9" "ref": "178877daf79d2dbd62129dd03612cb1a2cb407cc"
}, },
"files": [ "files": [
"config/packages/notifier.yaml" "config/packages/notifier.yaml"
@ -179,8 +180,8 @@
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "5.3", "version": "6.3",
"ref": "819d3d2ffa4590eba0b8f4f3e5e89415ee4e45c3" "ref": "01dfaa98c58f7a7b5a9b30e6edb7074af7ed9819"
}, },
"files": [ "files": [
".env.test", ".env.test",
@ -220,7 +221,7 @@
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "5.2", "version": "5.2",
"ref": "192bc241a3095c6861353e5a7a652ad35659ca92" "ref": "8fb9603326990013efbe6d71c2dd78ada316808a"
} }
}, },
"symfony/twig-bundle": { "symfony/twig-bundle": {