Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[FrameworkBundle] Only override getProjectDir if it exists in the kernel#22921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.3fromaschempp:optional-projectdir
May 26, 2017

Conversation

@aschempp
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#22872,#2289
LicenseMIT
Doc PR-

As discussed with@nicolas-grekas, thegetProjectDir method does not belong toKernelInterface so it can't just be called. I think we should also not add the method to the kernel if it does not exist in the parent, because we would not have a useful value to return.

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍 but for 3.3

@aschemppaschempp changed the base branch from3.4 to3.3May 26, 2017 13:29
@aschempp
Copy link
ContributorAuthor

sorry about that, I have rebased to 3.3

@fabpot
Copy link
Member

Thank you@aschempp.

@fabpotfabpot merged commitc7ed08e intosymfony:3.3May 26, 2017
fabpot added a commit that referenced this pull requestMay 26, 2017
… in the kernel (aschempp)This PR was merged into the 3.3 branch.Discussion----------[FrameworkBundle] Only override getProjectDir if it exists in the kernel| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#22872,#2289| License       | MIT| Doc PR        | -As discussed with@nicolas-grekas, the `getProjectDir` method does not belong to `KernelInterface` so it can't just be called. I think we should also not add the method to the kernel if it does not exist in the parent, because we would not have a useful value to return.Commits-------c7ed08e Only override getProjectDir if it exists in the kernel
@xabbuhxabbuh added this to the3.3 milestoneMay 26, 2017
@aschemppaschempp deleted the optional-projectdir branchMay 29, 2017 15:00
@fabpotfabpot mentioned this pull requestMay 29, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

6 participants

@aschempp@fabpot@nicolas-grekas@stof@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp