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] Fix Usage with anonymous classes#23156

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

@mablae
Copy link
Contributor

@mablaemablae commentedJun 13, 2017
edited
Loading

QA
Branch?3.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23136
LicenseMIT

Replace forbidden characters in the the class names of Anonymous Classes in form of
"class@anonymous /symfony/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php0x7f3f5f267ad5"

Wrapped in eval to avoid PHP parsing errors < 7 and usingrawurlenceode for perf reasons

Thanks@nicolas-grekas for the help and patience. Let me know if anything is missing.

@mablaemablae changed the titleFix Usage with anonymous classes[PropertyAccess] Fix Usage with anonymous classesJun 13, 2017
@mablaemablaeforce-pushed thefix-property-access-anonymous-class branch 2 times, most recently fromc071743 to5a5a08bCompareJune 13, 2017 08:28

publicfunctiontestAnonymousClassRead()
{
if (PHP_MAJOR_VERSION <7) {

Choose a reason for hiding this comment

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

use@requires php 7 annotation instead (same below)

}

/**
* @param $value

Choose a reason for hiding this comment

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

should be removed

Replace forbidden characters in the the class names of Anonymous Classes in form of"class@anonymous /symfony/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php0x7f3f5f267ad5"Wrapped in eval to avoid PHP parsing errors < 7
@mablaemablaeforce-pushed thefix-property-access-anonymous-class branch from5a5a08b to3f7fd43CompareJune 13, 2017 08:48
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.

👍

@nicolas-grekasnicolas-grekas added this to the3.2 milestoneJun 14, 2017
@fabpot
Copy link
Member

Thank you@mablae.

mablae reacted with heart emoji

@fabpotfabpot merged commit3f7fd43 intosymfony:3.2Jun 14, 2017
fabpot added a commit that referenced this pull requestJun 14, 2017
This PR was merged into the 3.2 branch.Discussion----------[PropertyAccess] Fix Usage with anonymous classes| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23136| License       | MITReplace forbidden characters in the the class names of Anonymous Classes in form of"class@anonymous /symfony/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php0x7f3f5f267ad5"Wrapped in eval to avoid PHP parsing errors < 7 and using `rawurlenceode` for perf reasonsThanks@nicolas-grekas for the help and patience. Let me know if anything is missing.Commits-------3f7fd43 Fix Usage with anonymous classes
@mablaemablae deleted the fix-property-access-anonymous-class branchJune 15, 2017 01:08
This was referencedJul 4, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@dunglasdunglasdunglas approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.2

Development

Successfully merging this pull request may close these issues.

5 participants

@mablae@fabpot@dunglas@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp