Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8e715fc

Browse files
author
Kevin Auvinet
authored
Merge pull request #1 from ke20/updates
add multi updates: composer, phpunit, doctrine, tests and default page
2 parents c8efcd3 + e352633 commit 8e715fc

29 files changed

+2804
-635
lines changed

‎.env.dist

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
###> symfony/framework-bundle ###
66
APP_ENV=dev
7-
APP_DEBUG=1
8-
APP_SECRET=66d912e7b25e3f9fdb9377472a524127
7+
APP_SECRET=36fb46b50d0aa2bcba16daa1c3d84055
8+
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
9+
#TRUSTED_HOSTS=localhost,example.com
910
###< symfony/framework-bundle ###
11+
12+
###> doctrine/doctrine-bundle ###
13+
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
14+
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
15+
# Configure your db driver and server_version in config/packages/doctrine.yaml
16+
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
17+
###< doctrine/doctrine-bundle ###

‎.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
###> symfony/framework-bundle ###
2-
.env
2+
/.env
33
/public/bundles/
44
/var/
55
/vendor/
66
###< symfony/framework-bundle ###
7+
78
###> symfony/phpunit-bridge ###
89
.phpunit
910
/phpunit.xml

‎bin/phpunit

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-php
55
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
66
exit(1);
77
}
8+
if (false === getenv('SYMFONY_DEPRECATIONS_HELPER')) {
9+
// see https://symfony.com/doc/current/components/phpunit_bridge.html#making-tests-fail
10+
putenv('SYMFONY_DEPRECATIONS_HELPER=999999');
11+
}
812
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
9-
putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');
13+
putenv('SYMFONY_PHPUNIT_REMOVE=');
1014
}
1115
if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {
1216
putenv('SYMFONY_PHPUNIT_VERSION=6.5');

‎composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44
"type": "project",
55
"license": "proprietary",
66
"require": {
7-
"php": "^7.0.8",
7+
"php": "^7.2",
8+
"doctrine/doctrine-bundle": "^1.6.10",
9+
"doctrine/doctrine-migrations-bundle": "^1.3",
10+
"doctrine/orm": "^2.5.11",
811
"symfony/console": "^4.1",
9-
"symfony/flex": "^1.0",
12+
"symfony/flex": "^1.1",
1013
"symfony/framework-bundle": "^4.1",
14+
"symfony/twig-bundle": "^4.1",
1115
"symfony/yaml": "^4.1"
1216
},
1317
"require-dev": {
18+
"symfony/browser-kit": "^4.1",
1419
"symfony/dotenv": "^4.1",
1520
"symfony/phpunit-bridge": "^4.1"
1621
},
@@ -32,8 +37,9 @@
3237
},
3338
"scripts": {
3439
"auto-scripts": {
40+
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
3541
"cache:clear": "symfony-cmd",
36-
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
42+
"assets:install %PUBLIC_DIR%": "symfony-cmd"
3743
},
3844
"post-install-cmd": [
3945
"@auto-scripts"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /