Skip to content

Commit

Permalink
Update Symfony to the latest LTS version
Browse files Browse the repository at this point in the history
  • Loading branch information
jskowronski39 committed Jul 24, 2023
1 parent 7227d02 commit 5d96662
Show file tree
Hide file tree
Showing 13 changed files with 2,338 additions and 2,296 deletions.
15 changes: 11 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,23 @@ APP_ENV=dev
APP_SECRET=3c0e1589d36f2c28609e4ec5af60f545
###< symfony/framework-bundle ###

###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
DATABASE_URL=mysql://root@mysql:3306/af_website?serverVersion=5.7
###< doctrine/doctrine-bundle ###

###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/messenger ###

###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
32 changes: 17 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,30 @@
"require": {
"php": ">=8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-dom": "*",
"api-platform/core": "^2.6",
"ext-iconv": "*",
"api-platform/core": "^2.7",
"composer/package-versions-deprecated": "1.11.99.4",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.5",
"doctrine/doctrine-bundle": "^2.10",
"doctrine/doctrine-fixtures-bundle": "^3.4",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.10",
"doctrine/orm": "^2.15",
"elao/enum": "^1.7",
"erusev/parsedown": "^1.7",
"friendsofsymfony/jsrouting-bundle": "^2.5",
"knpuniversity/oauth2-client-bundle": "^2.7",
"league/csv": "^9.6",
"nelmio/cors-bundle": "^2.1",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.23",
"ramsey/uuid-doctrine": "^1.6",
"restcord/restcord": "^0.5.0",
"sensio/framework-extra-bundle": "^6.1",
"spatie/calendar-links": "^1.2",
"phpstan/phpdoc-parser": "^1.2",
"symfony/asset": "5.4.*",
"symfony/console": "5.4.*",
"symfony/doctrine-messenger": "5.4.*",
"symfony/dotenv": "5.4.*",
"symfony/expression-language": "5.4.*",
"symfony/flex": "^1.17|^2",
Expand All @@ -38,7 +39,7 @@
"symfony/intl": "5.4.*",
"symfony/mailer": "5.4.*",
"symfony/mime": "5.4.*",
"symfony/monolog-bundle": "^3.1",
"symfony/monolog-bundle": "^3.0",
"symfony/notifier": "5.4.*",
"symfony/process": "5.4.*",
"symfony/property-access": "5.4.*",
Expand All @@ -62,26 +63,27 @@
"wohali/oauth2-discord-new": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "5.4.*",
"symfony/css-selector": "5.4.*",
"symfony/debug-bundle": "5.4.*",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "^6.3",
"symfony/stopwatch": "5.4.*",
"symfony/web-profiler-bundle": "5.4.*",
"dama/doctrine-test-bundle": "^6.5",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest",
"symfony/browser-kit": "5.4.*",
"symfony/css-selector": "5.4.*",
"symfony/debug-bundle": "5.4.*",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/stopwatch": "5.4.*",
"symfony/web-profiler-bundle": "5.4.*"
"roave/security-advisories": "dev-latest"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"php-http/discovery": true,
"symfony/flex": true,
"symfony/runtime": true
},
Expand Down
Loading

0 comments on commit 5d96662

Please sign in to comment.