Commit Graph
99 Commits
Author SHA1 Message Date
Ben Scott 15506e0e3d Work out values for env and debug once
Previously the null coalescing logic was duplicated, this puts it into
one place.
2017-12-20 11:07:53 -08:00
symfony-flex-server[bot]andGitHub b61ce3310c Merge pull request #305 2017-12-11 16:10:21 +00:00
Ryan Weaver 8f76140fee Reverts #295: this re-establishes the separate Flex recipe 2017-12-11 10:32:20 -05:00
Ryan WeaverandGitHub 30ca16fe96 Clarify when you would uncomment the session config 2017-12-11 08:22:40 -06:00
Nicolas Grekas 510e3f8eb1 Merge flex recipe with framework-bundle one 2017-12-06 10:14:03 +01:00
Kévin Dunglas b324d5de53 Remove APP_ prefix 2017-12-02 17:15:05 +01:00
Kévin Dunglas 629e7320c3 [FrameworkBundle] Add a env vars to configure trusted proxies and hosts 2017-11-30 18:13:11 +01:00
symfony-flex-server[bot]andGitHub a9c8b00077 Merge pull request #240 2017-11-30 15:44:55 +00:00
Ryan WeaverandGitHub 59654103a9 using the alias 2017-11-29 12:45:31 -06:00
Nicolas Grekas 4e796285c0 Hopefully improve comments in services.yaml 2017-11-29 17:28:19 +01:00
symfony-flex-server[bot]andGitHub d46bbd5cb9 Merge pull request #271 2017-11-23 19:53:17 +00:00
Ben Scott b3c5ff1df5 Add checks for Dotenv before calling it
`composer install --no-dev` fails when Dotenv is a dev dependency (which
it is in skeleton) and you're running in an environment without an
APP_ENV variable set.

Throw exception when no env variables are set and Dotenv is absent so
the user knows to either require DotEnv or specify an APP_ENV variable.
2017-11-23 15:39:39 +00:00
Ryan WeaverandGitHub 3f10493a54 Making it more clear how to enable sessions 2017-11-22 08:20:26 -06:00
Javier Eguiluz 25e1dc9e5e Exclude DataFixtures/ from the autowired services 2017-11-19 11:42:42 +01:00
Nicolas Grekas 4861a3653b Enable container.dumper.inline_class_loader param by default 2017-11-10 19:28:53 +01:00
Jan Rosier 2bb4ff005c Use $this->getProjectDir() instead of dirname(__DIR__) 2017-11-10 13:40:49 +01:00
Nicolas Grekas d4af6721fd Remove defaults for APP_DEBUG env vars 2017-11-07 19:12:38 +01:00
Nicolas Grekas b758d3a313 Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" 2017-11-07 17:24:19 +01:00
Ryan WeaverandGitHub ca14aad308 Remove Repository from being ignored
See https://github.com/doctrine/DoctrineBundle/pull/727

But also, this directory was always safe to auto-register. If they cannot be autowired, unless you try to *use* them as services, they will be discarded without showing the autowiring failure.
2017-11-06 11:50:39 -05:00
Benjamin Lazarecki 824bd92d9b FrameworkBundle kernel should be compatible 2017-10-28 00:57:30 +02:00
Tobias SchultzeandGitHub 9eef91211f Do not enable session in test env by default
Session system is not enabled by default in prod, dev. see https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/packages/framework.yaml#L8
So it should also not be enabled by default in test env.
2017-10-25 19:27:45 +02:00
Nicolas Grekas 6951a4cd72 Enable container.autowiring.strict_mode 2017-10-23 16:42:36 +02:00
Fabien Potencier 0636f0e8bb fixed typo 2017-10-17 14:12:53 -07:00
Maximilian BerghoffandSymfony aa946a3a89 when make is gone, composer should use symfony console command (#216) 2017-10-17 07:04:17 -07:00
Fabien PotencierandSymfony 82e8cf1a6d removed Makefile support (#215) 2017-10-16 16:05:06 -07:00
Ryan WeaverandSymfony 56acc9cfb9 Always using umask(0000) in debug mode (#210) 2017-10-10 01:46:31 -07:00
Ryan WeaverandSymfony 56c2f01d8e Use the native PHP session handler by default (#209) 2017-10-09 08:16:56 -07:00
Fabien PotencierandSymfony 325838a7b3 added some command names for make help (#207) 2017-10-06 09:27:11 -07:00
Nicolas GrekasandSymfony caa8bce19d Fix Makefile (#203) 2017-10-03 17:50:56 -07:00
Fabien PotencierandSymfony 1d2ae35047 fixed logic in Makefile (#201) 2017-10-02 16:55:29 -07:00
Fabien PotencierandSymfony be5333aae5 fixed space issue in bin/console (#200) 2017-10-02 16:10:45 -07:00
SymfonyandGitHub dfce5ae0f0 Merge pull request #178 from mercuryseries/patch-2 2017-09-26 21:20:12 -07:00
Nicolas Grekas da0f8b1d60 Fix PHP 7.0 2017-09-25 16:56:00 +02:00
Nicolas Grekas f092653e6b Allow PHP 7.0 2017-09-23 19:48:54 +01:00
SymfonyandGitHub 18a780d8dd Merge pull request #177 from mercuryseries/patch-1 2017-09-15 08:26:31 -07:00
SymfonyandGitHub f6343d69f7 Merge pull request #162 from simensen/symfony-framework-bundle-environment-specific-services-and-parameters 2017-09-15 08:24:18 -07:00
Honoré HOUNWANOUandGitHub 4b1eaaef36 Add some punctuations
Harmonize punctuations.
2017-09-13 02:53:58 -04:00
Honoré HOUNWANOUandGitHub e170140230 Remove unnecessary semicolon
Unless the semicolon has been added for a specific reason, I think it's unnecessary.
2017-09-13 00:30:50 -04:00
SymfonyandGitHub 29e353bcd0 Merge pull request #171 from nicolas-grekas/public-controllers 2017-09-11 09:47:16 -07:00
Nicolas Grekas a5b3b7450d Controllers are already public 2017-09-11 17:36:16 +02:00
SymfonyandGitHub 60925409d2 Merge pull request #172 from symfony/doctrine-migrations-fix 2017-09-11 07:00:52 -07:00
Fabien Potencier 87edffe754 fixed Doctrine migrations default configuration 2017-09-11 05:36:59 -07:00
Beau Simensen 365cb6a819 Make it possible create environment-specific services and parameters. 2017-09-06 10:21:11 -05:00
SymfonyandGitHub 47139d676b Merge pull request #167 from bocharsky-bw/patch-3 2017-09-01 11:14:31 -07:00
Victor Bocharsky 058d5079e5 Uppercase the first letter in the sentence and split 'warmup' 2017-09-01 20:53:39 +03:00
SymfonyandGitHub bcae18ecd6 Merge pull request #168 from andrerom/patch-1 2017-09-01 10:48:18 -07:00
Javier Eguiluz 2117e0eb32 Renamed var/logs/ to var/log/ 2017-09-01 14:45:29 +02:00
André RandGitHub b5720314d7 Makefile: remove trailing dot on server:stop command 2017-09-01 11:59:50 +02:00
Nicolas Grekas 4d50b0884d Default to non-debug in index.php 2017-08-30 16:31:30 +02:00
Nicolas Grekas ca22a33dca Dont use getenv(), use $_SERVER instead 2017-08-22 15:09:35 +02:00