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 e4f5cc0

Browse files
author
Kevin Auvinet
committed
upgrade to php 7.3, nginx 1.15 and symfony 4.2
1 parent 53b31c4 commit e4f5cc0

File tree

10 files changed

+1069
-287
lines changed

10 files changed

+1069
-287
lines changed

‎.env.dev

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# This file defined and override the environment variables for the environment development
3+
# Copy here from the `.env.dist` file the variables you need to override or create new
4+
#
5+
6+
DATABASE_URL=mysql://user:123456789@db:3306/app

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This project requires [docker](https://www.docker.com/) and [docker-compose](htt
99
# Get started
1010

1111
```
12-
$ git clone https://github.com/ke20/symfony4-dev-project
13-
$ cd symfony4-dev-project
12+
$ git clone https://github.com/ke20/symfony4-dev-project my-project
13+
$ cd my-project
1414
$ docker-compose run --rm php composer install
1515
$ docker-compose up -d
1616
```

‎composer.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,25 @@
22
"name": "ke20/symfony4-dev-project",
33
"description": "Base for a Symfony 4 project",
44
"type": "project",
5-
"license": "proprietary",
5+
"license": "MIT",
66
"require": {
77
"php": "^7.2",
88
"doctrine/doctrine-bundle": "^1.6.10",
9-
"doctrine/doctrine-migrations-bundle": "^1.3",
9+
"doctrine/doctrine-migrations-bundle": "^2.0",
1010
"doctrine/orm": "^2.5.11",
11-
"symfony/console": "^4.1",
11+
"symfony/console": "^4.2",
1212
"symfony/flex": "^1.1",
13-
"symfony/framework-bundle": "^4.1",
14-
"symfony/twig-bundle": "^4.1",
15-
"symfony/yaml": "^4.1"
13+
"symfony/framework-bundle": "^4.2",
14+
"symfony/twig-bundle": "^4.2",
15+
"symfony/yaml": "^4.2"
1616
},
1717
"require-dev": {
18-
"symfony/browser-kit": "^4.1",
19-
"symfony/dotenv": "^4.1",
20-
"symfony/phpunit-bridge": "^4.1"
18+
"roave/security-advisories": "dev-master",
19+
"symfony/browser-kit": "^4.2",
20+
"symfony/css-selector": "^4.2",
21+
"symfony/dotenv": "^4.2",
22+
"symfony/phpunit-bridge": "^4.2",
23+
"symfony/test-pack": "^1.0"
2124
},
2225
"config": {
2326
"preferred-install": {
@@ -38,8 +41,7 @@
3841
"scripts": {
3942
"auto-scripts": {
4043
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
41-
"cache:clear": "symfony-cmd",
42-
"assets:install %PUBLIC_DIR%": "symfony-cmd"
44+
"cache:clear": "symfony-cmd"
4345
},
4446
"post-install-cmd": [
4547
"@auto-scripts"
@@ -49,15 +51,11 @@
4951
]
5052
},
5153
"conflict": {
52-
"symfony/symfony": "*",
53-
"symfony/twig-bundle": "<4.1",
54-
"symfony/debug": "<4.1"
54+
"symfony/symfony": "*"
5555
},
5656
"extra": {
5757
"symfony": {
58-
"id": "01BVMFS661TSV80QRRVK01QB8W",
59-
"allow-contrib": false,
60-
"require": "4.1.*"
58+
"allow-contrib": true
6159
}
6260
}
6361
}

0 commit comments

Comments
(0)

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