WIP: Upgrade skeleton to symfony 5 #18

Draft
julienfastre wants to merge 47 commits from upgrade-sf5 into main
4 changed files with 9 additions and 5 deletions
Showing only changes of commit fb1259ba81 - Show all commits

1
.gitignore vendored
View File

@ -63,7 +63,6 @@ yarn-error.log
###< symfony/webpack-encore-bundle ### ###< symfony/webpack-encore-bundle ###
###> symfony/phpunit-bridge ### ###> symfony/phpunit-bridge ###
.phpunit
.phpunit.result.cache .phpunit.result.cache
/phpunit.xml /phpunit.xml
###< symfony/phpunit-bridge ### ###< symfony/phpunit-bridge ###

View File

@ -33,6 +33,7 @@
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" /> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners> </listeners>
<!-- Uncomment when adding extensions
<extensions> <extensions>
</extensions> </extensions>
</phpunit> </phpunit>

View File

@ -619,12 +619,12 @@
"version": "v5.1.3" "version": "v5.1.3"
}, },
"symfony/phpunit-bridge": { "symfony/phpunit-bridge": {
"version": "5.1", "version": "5.4",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "main",
"version": "5.1", "version": "5.3",
"ref": "bf16921ef8309a81d9f046e9b6369c46bcbd031f" "ref": "6df817da0ca2b8cddbb6e690051d7f2b45530d06"
}, },
"files": [ "files": [
".env.test", ".env.test",

View File

@ -9,3 +9,7 @@ if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
} elseif (method_exists(Dotenv::class, 'bootEnv')) { } elseif (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
} }
if ($_SERVER['APP_DEBUG']) {
umask(0000);
}