Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

app.php and console: no need to declare $loader variable #1074

Closed
wants to merge 1 commit into from

Conversation

MacDada
Copy link
Contributor

@MacDada MacDada commented May 16, 2017

The var isn't being used anywhere in the file(s).

Because of how "require" works,
$loader is still a global variable.

The var isn't being used anywhere in the file(s).

Because of how "require" works,
$loader is still a global variable.
@Tobion
Copy link
Contributor

Tobion commented May 16, 2017

👍 Should be merged in 2.7 since #964 is also in 2.7 that removed the $loader usage.

@MacDada
Copy link
Contributor Author

MacDada commented May 16, 2017

@Tobion I'm gonna split it into two PRs, as 2.7 does not have $loader in console: https://github.com/symfony/symfony-standard/blob/2.7/app/console

EDIT: …or not. I don't know how to split it :/

@MacDada MacDada closed this May 16, 2017
@MacDada MacDada reopened this May 16, 2017
@fabpot
Copy link
Member

fabpot commented Jun 16, 2017

Good catch, thanks @MacDada.

fabpot added a commit that referenced this pull request Jun 16, 2017
…(MacDada)

This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes #1074).

Discussion
----------

app.php and console: no need to declare $loader variable

The var isn't being used anywhere in the file(s).

Because of how "require" works,
$loader is still a global variable.

Commits
-------

66f5804 app.php and console: no need to declare $loader variable
@fabpot fabpot closed this Jun 16, 2017
@Tobion
Copy link
Contributor

Tobion commented Jun 16, 2017

@fabpot you forgot app_dev.php when rebasing: #1090

Tobion added a commit that referenced this pull request Jun 16, 2017
#1074 for app_dev.php which has been forgotten when rebasing
fabpot added a commit that referenced this pull request Jun 16, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

Remove unused $loader variable

#1074 for app_dev.php which has been forgotten when rebasing

Commits
-------

cd61200 Remove unused $loader variable
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.