Skip to content

Commit

Permalink
Jump to Symfony 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed May 21, 2020
1 parent 3121912 commit c6a3986
Show file tree
Hide file tree
Showing 122 changed files with 6,476 additions and 1,984 deletions.
40 changes: 40 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# minute interval before defining the status as non fresh because it might be a problem
# (the queue is full, workers are dead, redis is dead, rabbitmq is dead, etc.)
STATUS_MINUTE_INTERVAL_BEFORE_ALERT=120

# used to generate url from the backend
PROJECT_HOST=banditore.com
PROJECT_SCHEME=https

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

###> doctrine/doctrine-bundle ###
DATABASE_URL=mysql://root:root@127.0.0.1:3306/banditore
###< doctrine/doctrine-bundle ###

###> knplabs/github-api ###
GITHUB_CLIENT_ID=xxx
GITHUB_CLIENT_SECRET=xxx
###< knplabs/github-api ###

###> sentry/sentry-symfony ###
SENTRY_DSN=https://xxx:xxx@sentry.io/666
###< sentry/sentry-symfony ###

###> snc/redis-bundle ###
REDIS_URL_GUZZLE_CACHE=redis://127.0.0.1:6379/2
REDIS_URL_DOCTRINE_CACHE=redis://127.0.0.1:6379/3
REDIS_URL_APP_CACHE=redis://127.0.0.1:6379/4
###< snc/redis-bundle ###

###> swarrot/swarrot-bundle ###
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_LOGIN=guest
RABBITMQ_PASSWORD=guest
###< swarrot/swarrot-bundle ###
7 changes: 7 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther

DATABASE_URL=mysql://root:@127.0.0.1:3306/banditore_test
32 changes: 22 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
/app/config/parameters.yml
/build/
/coverage/
/phpunit.xml
/var/*
!/var/cache
/var/cache/*
!var/cache/.gitkeep
!/var/logs
/var/logs/*
!var/logs/.gitkeep
!/var/log
/var/log/*
!var/log/.gitkeep
!/var/sessions
/var/sessions/*
!var/sessions/.gitkeep
!var/SymfonyRequirements.php
/vendor/
/web/bundles/
/bin/*
!/bin/console
!/bin/symfony_requirements
.php_cs.cache

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###

###> friendsofphp/php-cs-fixer ###
/.php_cs
/.php_cs.cache
###< friendsofphp/php-cs-fixer ###

###> symfony/phpunit-bridge ###
.phpunit
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ before_script:
- php bin/console doctrine:database:create --env=test
- php bin/console doctrine:schema:create --env=test
- php bin/console doctrine:fixtures:load --env=test -n
- php bin/rabbit vhost:mapping:create -p guest app/config/rabbit_vhost.yml
- php bin/rabbit vhost:mapping:create -p guest config/rabbit_vhost.yaml
- if [ "$COVERAGE" = "run" ]; then PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"; fi;

script:
Expand Down
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.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

0 comments on commit c6a3986

Please sign in to comment.