Skip to content

Commit

Permalink
Ref #50 : Upgrading server from version 3.4 to 4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann-BUTSCHER-EIRL committed Jul 24, 2019
1 parent d0d00ab commit 4a0df99
Show file tree
Hide file tree
Showing 415 changed files with 6,544 additions and 3,422 deletions.
35 changes: 35 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# In all environments, the following files are loaded if they exist,
# the later taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=f5616c10338f74f6634a7faba8004d91
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
###< doctrine/doctrine-bundle ###

###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
71 changes: 23 additions & 48 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,30 @@
# Cache and logs (Symfony2)
/app/cache/*
/app/logs/*
!app/cache/.gitkeep
!app/logs/.gitkeep

# Email spool folder
/app/spool/*

# Cache, session files and logs (Symfony3)
/var/cache/*
/var/logs/*
/var/sessions/*
!var/cache/.gitkeep
!var/logs/.gitkeep
!var/sessions/.gitkeep

# Parameters
/app/config/parameters.yml
/app/config/parameters.ini

# Managed by Composer
/app/bootstrap.php.cache
/var/bootstrap.php.cache
/bin/*
!bin/console
!bin/symfony_requirements
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###

# Assets and user uploads
/web/bundles/
/web/uploads/

# PHPUnit
/app/phpunit.xml
###> symfony/phpunit-bridge ###
.phpunit
/phpunit.xml
###< symfony/phpunit-bridge ###

# Build data
/build/

# Composer PHAR
/composer.phar

# Backup entities generated with doctrine:generate:entities command
**/Entity/*~

# Embedded web-server pid file
###> symfony/web-server-bundle ###
/.web-server-pid
###< symfony/web-server-bundle ###

# IDE's configuration
.idea/*
/nbproject/*

# Fichier de mapping
###> local files ###
path_mapping.ods
.env.local_for_dev
.env.local_for_test
server_start_dev.sh
server_start_test.sh
###< local files ###

###> squizlabs/php_codesniffer ###
/.phpcs-cache
/phpcs.xml
###< squizlabs/php_codesniffer ###
1 change: 1 addition & 0 deletions .php-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.2
4 changes: 2 additions & 2 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<ruleset name="Custom Standard">

<file>./src/AppBundle/</file>
<file>./src/AppBundle/Resources/</file>
<file>./src/</file>
<file>./templates/</file>

<!--
<rule ref="Squiz.ControlStructures.ControlSignature"/>
Expand Down
7 changes: 0 additions & 7 deletions app/.htaccess

This file was deleted.

7 changes: 0 additions & 7 deletions app/AppCache.php

This file was deleted.

68 changes: 0 additions & 68 deletions app/AppKernel.php

This file was deleted.

80 changes: 0 additions & 80 deletions app/config/config.yml

This file was deleted.

41 changes: 0 additions & 41 deletions app/config/config_dev.yml

This file was deleted.

22 changes: 0 additions & 22 deletions app/config/config_prod.yml

This file was deleted.

31 changes: 0 additions & 31 deletions app/config/config_test.yml

This file was deleted.

Loading

0 comments on commit 4a0df99

Please sign in to comment.