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] Fix autoloader in insulated clients#21922

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:client-fix
Mar 8, 2017

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedMar 8, 2017
edited
Loading

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

Related to the deprecation of the class loader component:
theClient already uses this code inHttpKernel, butFrameworkBundle is missing the same update.
Spotted while debugging the hhvm 3.18 issue (the chain is:ComposerResource sees different vendors, thus says the kernel cache is not fresh, thus it is rebuild, thus we hitfacebook/hhvm#7722).

}

$path =str_replace("'","\\'",$r->getFileName());
$requires .="require_once '".str_replace("'","\\'",(new \ReflectionObject($this->kernel))->getFileName())."';\n";
Copy link
Member

Choose a reason for hiding this comment

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

wouldn'tvar_export be better than doing manual escaping ? Thus, the escaping is incomplete in case there is a\ just before a quote

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasMar 8, 2017
edited
Loading

Choose a reason for hiding this comment

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

Dunno :) Currently, this is consistent with other places (HttpKernel's Client) and with the previous code. I don't see the need to diverge here (in this PR).

fabpot added a commit that referenced this pull requestMar 8, 2017
This PR was merged into the 2.7 branch.Discussion----------[travis] Test with hhvm 3.18| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21900| License       | MIT| Doc PR        | -Needs#21922 on master to be green also.Works aroundfacebook/hhvm#7722.Commits-------7f1f0cb [travis] Test with hhvm 3.18
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit414ac5d intosymfony:masterMar 8, 2017
fabpot added a commit that referenced this pull requestMar 8, 2017
…olas-grekas)This PR was merged into the 3.3-dev branch.Discussion----------[FrameworkBundle] Fix autoloader in insulated clients| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Related to the deprecation of the class loader component:the `Client` already uses this code in `HttpKernel`, but `FrameworkBundle` is missing the same update.Spotted while debugging the hhvm 3.18 issue (the chain is: `ComposerResource` sees different vendors, thus says the kernel cache is not fresh, thus it is rebuild, thus we hitfacebook/hhvm#7722).Commits-------414ac5d [FrameworkBundle] Fix autoloader in insulated clients
@nicolas-grekasnicolas-grekas deleted the client-fix branchMarch 8, 2017 19:48
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp