Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Register WebServerBundle #1042

Closed
wants to merge 2 commits into from
Closed

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Jan 6, 2017

Updates vendors which was locked to 3.2.1 and registers the WebServerBundle.
Closes #1041

@@ -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(),
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course... fixed

@chalasr chalasr force-pushed the wire-webserverbundle branch 2 times, most recently from 462e339 to e335928 Compare January 6, 2017 17:34
@@ -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();
Copy link
Member

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?

Copy link
Member Author

@chalasr chalasr Jan 6, 2017

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed

Copy link
Member Author

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?

Copy link
Member

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",
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@chalasr chalasr force-pushed the wire-webserverbundle branch from e335928 to f143530 Compare January 6, 2017 17:45
@fabpot
Copy link
Member

fabpot commented Jan 8, 2017

Thank you @chalasr.

@fabpot fabpot closed this in 19845d0 Jan 8, 2017
@chalasr chalasr deleted the wire-webserverbundle branch January 8, 2017 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants