-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
@@ -13,6 +13,7 @@ public function registerBundles() | |||
new Symfony\Bundle\TwigBundle\TwigBundle(), | |||
new Symfony\Bundle\MonologBundle\MonologBundle(), | |||
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), | |||
new Symfony\Bundle\WebServerBundle\WebServerBundle(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be registered only for the dev environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course... fixed
462e339
to
e335928
Compare
@@ -21,6 +21,7 @@ public function registerBundles() | |||
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { | |||
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); | |||
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); | |||
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would really add it just for the dev env, it does not make sense to register it for the test one, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, fixed. Wouldn't the same be relevant for SensioGeneratorBundle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we make the change here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in 77f5880
@@ -4,7 +4,8 @@ | |||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | |||
"This file is @generated automatically" | |||
], | |||
"content-hash": "e8806838d7235c3d2ab386293836949f", | |||
"hash": "3749ec07f0cd5aa8a58d5252a2c19ca4", | |||
"content-hash": "dbdc24fc713f6a6da88dcdff23201f1b", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update your composer version to use composer 1.3, instead of reverting the lock file to things created by an older version (different date format and the old hash
), and then regenerate the lock with composer update --lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
e335928
to
f143530
Compare
Thank you @chalasr. |
Updates vendors which was locked to 3.2.1 and registers the WebServerBundle.
Closes #1041