Skip to content

Commit

Permalink
Merge pull request #141 from sumocoders/351-symfony-72
Browse files Browse the repository at this point in the history
351 symfony 72
  • Loading branch information
jonasdekeukelaere authored Dec 4, 2024
2 parents d765514 + 46b0ab6 commit 2efdbab
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 24 deletions.
48 changes: 24 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,41 @@
"flex-require": {
"beberlei/doctrineextensions": "^1.5",
"doctrine/doctrine-migrations-bundle": "^3.3",
"sentry/sentry-symfony": "^5.0",
"sumocoders/framework-core-bundle": "^11.0",
"sentry/sentry-symfony": "^5.1",
"sumocoders/framework-core-bundle": "^11.2",
"symfony/apache-pack": "^1.0.1",
"symfony/asset-mapper": "^7.1",
"symfony/debug-bundle": "^7.1",
"symfony/dotenv": "^7.1",
"symfony/expression-language": "^7.1",
"symfony/asset-mapper": "^7.2",
"symfony/debug-bundle": "^7.2",
"symfony/dotenv": "^7.2",
"symfony/expression-language": "^7.2",
"symfony/flex": "^2.4",
"symfony/http-client": "^7.1",
"symfony/mailer": "^7.1",
"symfony/messenger": "^7.1",
"symfony/http-client": "^7.2",
"symfony/mailer": "^7.2",
"symfony/messenger": "^7.2",
"symfony/monolog-bundle": "^3.10",
"symfony/rate-limiter": "^7.1",
"symfony/runtime": "^7.1",
"symfony/security-bundle": "^7.1",
"symfony/stimulus-bundle": "^2.20",
"symfony/ux-turbo": "^2.20",
"symfony/validator": "^7.1",
"symfony/web-profiler-bundle": "^7.1",
"symfony/yaml": "^7.1",
"symfonycasts/sass-bundle": "^0.7.0",
"symfony/rate-limiter": "^7.2",
"symfony/runtime": "^7.2",
"symfony/security-bundle": "^7.2",
"symfony/stimulus-bundle": "^2.22",
"symfony/ux-turbo": "^2.22",
"symfony/validator": "^7.2",
"symfony/web-profiler-bundle": "^7.2",
"symfony/yaml": "^7.2",
"symfonycasts/sass-bundle": "^0.8",
"twbs/bootstrap": "^5.3"
},
"require-dev": {
},
"flex-require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.6",
"doctrine/doctrine-fixtures-bundle": "^3.7",
"micheh/phpcs-gitlab": "^1.1",
"phpstan/phpstan-symfony": "^1.4",
"phpstan/phpstan-doctrine": "^1.5",
"squizlabs/php_codesniffer": "^3.10",
"phpstan/phpstan-symfony": "^2.0",
"phpstan/phpstan-doctrine": "^2.0",
"squizlabs/php_codesniffer": "^3.11",
"symfony/debug-pack": "*",
"symfony/maker-bundle": "*",
"symfony/phpunit-bridge": "^7.1",
"symfony/stopwatch": "^7.1",
"symfony/phpunit-bridge": "^7.2",
"symfony/stopwatch": "^7.2",
"tijsverkoyen/deployer-sumo": "^4.1",
"vincentlanglet/twig-cs-fixer": "*"
},
Expand Down
8 changes: 8 additions & 0 deletions src/Skeleton/PostCreateProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ private static function reconfigureApplication(Event $event): void
);
file_put_contents($projectDir . '/.env', $content);

$io->notice('→ Setup .env.local');
$secret = sodium_bin2hex(random_bytes(SODIUM_CRYPTO_SECRETBOX_KEYBYTES));
$content = <<<EOF
APP_ENV=dev
APP_SECRET="$secret"
EOF;
file_put_contents($projectDir . '/.env.local', $content);

$io->notice('→ Reconfigure docker-compose.yml');
$content = file_get_contents($projectDir . '/docker-compose.yml');
// remove doctrine/doctrine-bundle configuration
Expand Down

0 comments on commit 2efdbab

Please sign in to comment.