Commit Graph
28 Commits
Author SHA1 Message Date
Alexander SchranzandGitHub 9fd92da984 Check for existence of vendor directory for better error message (#1301) 2024-03-22 11:32:04 +01:00
Nicolas Grekas a1a70353f6 Remove all symlinks 2021-07-07 16:12:10 +02:00
Nicolas Grekas 9a90e69785 Leverage the new Runtime component 2021-02-24 10:30:58 +01:00
symfony-flex-server[bot]andGitHub 3229808f4e Merge pull request #724 2020-01-30 12:05:03 +00:00
Nicolas Grekas a0cb2ea41f Get rid of config/bootstrap.php for 5.1 apps 2020-01-29 16:53:59 +01:00
Nicolas Grekas 4912cc6f87 Some cleanups 2020-01-23 11:42:12 +01:00
Ryan Weaver 1a886501b8 Making symfony/console 4.2 use symfony/framework 4.2's config/bootstrap.php file
This assumes that the components are upgraded at the same time, but that is
an assumption we need to make for sane versioning. This assumption is already
made (for example) in the framework-bundle 4.2 recipe, whose config/bootstrap.php
file references a DotEnv 4.2 method
2019-12-12 16:48:07 -05:00
Yonel Ceruto 1d04804387 New 4.4 recipe to use ErrorHandler\Debug class by default 2019-07-31 23:46:25 -04:00
Théo FIDRYandGitHub 0e96733a71 Update console 2019-04-07 14:42:27 +02:00
Théo FIDRYandGitHub 3a51da3273 Move the console script within a namespace & add a CLI guard 2019-04-07 14:30:04 +02:00
Fabien Potencier f1d0ca324d Revert "Merge pull request #555"
This reverts commit d87f53b77c, reversing
changes made to 8bd4f13853.
2019-03-29 18:01:57 +01:00
tdutrion 693ec9e93a Add project path to app Kernel instanciation 2019-03-23 18:51:27 +01:00
Nicolas Grekas 3e471cbc7d Always load vars defined in .env files, providing .env.local.php for prod 2019-01-03 13:52:26 +01:00
symfony-flex-server[bot]andGitHub 230169dc8a Merge pull request #499 2018-11-22 16:10:44 +00:00
Nicolas Grekas f54d6a4684 Move src/.bootstrap.php to config/bootstrap.php 2018-11-22 16:07:00 +01:00
Ben Davies 5d55dfcd15 cast debug to boolean when creating kernel 2018-11-22 14:24:04 +00:00
Nicolas Grekas 7ff50214ee Move loading .env files to bootstrap.php 2018-11-15 00:20:15 +01:00
Nicolas Grekas 95bb54353e Allow to override .env files per env 2018-11-09 14:22:38 +01:00
Morel Sébastien 5849677040 Fix TypeError argument when APP_DEBUG is set 2018-03-08 01:20:32 -08:00
Christophe Coevoet 60c0fc35b3 Improve the console script
- look for the --env and --no-debug only before a -- separator, to respect
  the support for --
- avoid passing an empty string as parameter option name (which would never
  match anyway, but causes php warning is some Symfony versions instead of
  being ignored silently).
2018-02-15 12:16:49 +01: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
Nicolas Grekas b758d3a313 Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" 2017-11-07 17:24:19 +01:00
Ryan WeaverandSymfony 56acc9cfb9 Always using umask(0000) in debug mode (#210) 2017-10-10 01:46:31 -07:00
Nicolas Grekas ca22a33dca Dont use getenv(), use $_SERVER instead 2017-08-22 15:09:35 +02:00
Loïck PieraandGitHub b5a46a6e1c Fix use order in bin/console 2017-08-09 20:40:50 +02:00
Fabien Potencier 8fd72f8a86 added version directories 2017-04-04 11:57:32 -07:00
Fabien Potencier 6e554b0445 moved aliases directly into the manifest files 2017-03-24 16:11:46 -07:00
Fabien Potencier afb8b0bc4b moved recipes to the root 2017-03-24 16:01:14 -07:00