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

[HttpKernel] fix deprecating KernelInterface::getRootDir()#28890

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:masterfromnicolas-grekas:krootdir
Oct 16, 2018

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.2
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Follow up of#28810.
Did I get it right?

@nicolas-grekas
Copy link
MemberAuthor

(ready)

$this->fileLinkFormat =$fileLinkFormat ?:ini_get('xdebug.file_link_format') ?:get_cfg_var('xdebug.file_link_format');
$this->projectDir =str_replace('\\','/',$projectDir).'/';
$this->rootDir =$this->projectDir;
$this->rootDir =str_replace('\\','/',$projectDir).'/';
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 keep the new name, it's easier to follow along.

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasOct 16, 2018
edited
Loading

Choose a reason for hiding this comment

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

but changing it breaks BC...

Copy link
Member

Choose a reason for hiding this comment

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

Yes and no. That's internal/obsolete code (templating vs Twig).

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit819f525 intosymfony:masterOct 16, 2018
fabpot added a commit that referenced this pull requestOct 16, 2018
…() (nicolas-grekas)This PR was merged into the 4.2-dev branch.Discussion----------[HttpKernel] fix deprecating KernelInterface::getRootDir()| Q             | A| ------------- | ---| Branch?       | 4.2| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Follow up of#28810.Did I get it right?Commits-------819f525 [HttpKernel] fix deprecating KernelInterface::getRootDir()
@nicolas-grekasnicolas-grekas deleted the krootdir branchOctober 16, 2018 20:02
fabpot added a commit that referenced this pull requestOct 25, 2018
…0NL)This PR was merged into the 4.2-dev branch.Discussion---------- [TwigBridge] Remove $rootDir argument in CodeExtension| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |symfony/symfony-docs#10547 (comment)| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Forgotten in#28890cc@javiereguiluzCommits-------f894724 [TwigBridge] Remove $rootDir argument in CodeExtension
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp