chore: minor improvements and sync with API Platform (#277)
This commit is contained in:
parent
90d3f391db
commit
895d72daff
@ -1,6 +1,9 @@
|
||||
**/*.log
|
||||
**/*.md
|
||||
**/*.php~
|
||||
**/*.dist.php
|
||||
**/*.dist
|
||||
**/*.cache
|
||||
**/._*
|
||||
**/.dockerignore
|
||||
**/.DS_Store
|
||||
@ -14,15 +17,14 @@
|
||||
**/docker-compose.yml
|
||||
**/Dockerfile
|
||||
**/Thumbs.db
|
||||
.github/
|
||||
docs/
|
||||
public/bundles/
|
||||
tests/
|
||||
var/
|
||||
vendor/
|
||||
.editorconfig
|
||||
.env.*.local
|
||||
.env.local
|
||||
.env.local.php
|
||||
.php_cs.cache
|
||||
bin/*
|
||||
!bin/console
|
||||
docker/db/data/
|
||||
helm/
|
||||
public/bundles/
|
||||
var/
|
||||
vendor/
|
||||
.env.test
|
||||
|
@ -15,7 +15,7 @@ charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,html}]
|
||||
[*.{js,html,ts,tsx}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
@ -43,10 +43,6 @@ indent_style = space
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[api/helm/api/**.yaml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[.github/workflows/*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
@ -8,9 +8,8 @@ services:
|
||||
volumes:
|
||||
- ./:/srv/app
|
||||
- ./docker/php/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
|
||||
# If you develop on Mac or Windows you can remove the var/ and vendor/ directories
|
||||
# from the bind-mount for better performance by enabling the next 2 lines:
|
||||
#- /srv/app/var
|
||||
# If you develop on Mac or Windows you can remove the vendor/ directory
|
||||
# from the bind-mount for better performance by enabling the next line:
|
||||
#- /srv/app/vendor
|
||||
environment:
|
||||
# See https://xdebug.org/docs/all_settings#mode
|
||||
|
@ -7,8 +7,6 @@ if [ "${1#-}" != "$1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||
mkdir -p var/cache var/log
|
||||
|
||||
# Install the project the first time PHP is started
|
||||
# After the installation, the following block can be deleted
|
||||
if [ ! -f composer.json ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user