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

[PropertyAccess] Set a NullLogger in ApcuAdapter when Apcu is disabled in CLI#24251

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

Conversation

@iamluc
Copy link
Contributor

@iamluciamluc commentedSep 19, 2017
edited by nicolas-grekas
Loading

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

Same check as inhttps://github.com/symfony/symfony/pull/23390/files#diff-a5185cd58702e8e073786794a423cb27R112

thomasbisignani reacted with heart emoji
@iamluciamlucforce-pushed thefix-property-accessor-cache-cli branch from1a8acf9 to9f1feb0CompareSeptember 19, 2017 08:49

$apcu =newApcuAdapter($namespace,$defaultLifetime /5,$version);
if (null !==$logger) {
if ('cli' ===PHP_SAPI && !ini_get('apc.enable_cli')) {
Copy link
Member

Choose a reason for hiding this comment

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

I suggest using a fully-qualified name for the constant, so that OPCache can exclude this branch at compile time for other SAPIs

@iamluciamlucforce-pushed thefix-property-accessor-cache-cli branch from9f1feb0 to4a01cd8CompareSeptember 26, 2017 10:11
@nicolas-grekas
Copy link
Member

Thank you@iamluc.

@nicolas-grekasnicolas-grekas merged commit4a01cd8 intosymfony:3.3Sep 26, 2017
nicolas-grekas added a commit that referenced this pull requestSep 26, 2017
… is disabled in CLI (iamluc)This PR was merged into the 3.3 branch.Discussion----------[PropertyAccess] Set a NullLogger in ApcuAdapter when Apcu is disabled in CLI| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Same check as inhttps://github.com/symfony/symfony/pull/23390/files#diff-a5185cd58702e8e073786794a423cb27R112Commits-------4a01cd8 Set a NullLogger in ApcuAdapter when Apcu is disabled in CLI
@fabpotfabpot mentioned this pull requestOct 5, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@iamluc@nicolas-grekas@stof@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp