Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Tobion
Copy link
Contributor

@Tobion Tobion commented Nov 9, 2018

Fixes #383

Q A
License MIT

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

@ghost ghost merged commit ef52f72 into master Nov 12, 2018
ghost pushed a commit that referenced this pull request Nov 12, 2018
@Tobion Tobion deleted the Tobion-disabled-bundles branch November 12, 2018 08:19
$contents = require $this->getProjectDir().'/config/bundles.php';
foreach ($contents as $class => $envs) {
if (isset($envs['all']) || isset($envs[$this->environment])) {
if (($envs['all'] ?? false) && ($envs[$this->environment] ?? true) || ($envs[$this->environment] ?? false)) {
Copy link
Contributor

@guilliamxavier guilliamxavier Jan 28, 2020

Choose a reason for hiding this comment

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

For the record: this line was rewritten as

            if ($envs[$this->environment] ?? $envs['all'] ?? false) {

and backported to the 3.3 recipe in #491

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants