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

[PhpUnitBridge] use call_user_func() for PHP 5.3 compatibility#19126

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:masterfromxabbuh:error-assert-php-5.3
Jun 21, 2016

Conversation

@xabbuh
Copy link
Member

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

Not all callables can be called directly on PHP 5.3 (for example,array('className', 'methodName') does not work).

Not all callables can be called directly on PHP 5.3 (for example,`array('className', 'methodName')` does not work).
@fabpot
Copy link
Member

But Symfony 3.x does not support PHP 5.3 anymore.

@xabbuh
Copy link
MemberAuthor

No, but we explicitly support PHP 5.3 for the PHPUnit bridge to use the latest version in tests for older Symfony versions for example (seehttps://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/PhpUnit/composer.json#L19-L21).

@xabbuhxabbuh changed the title[PhpUnitBridge] use call_user_func() for PHP 5.3 compatibility[PHPUnitBridge] use call_user_func() for PHP 5.3 compatibilityJun 21, 2016
@xabbuhxabbuh changed the title[PHPUnitBridge] use call_user_func() for PHP 5.3 compatibility[PhpUnitBridge] use call_user_func() for PHP 5.3 compatibilityJun 21, 2016
@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit8549e05 intosymfony:masterJun 21, 2016
fabpot added a commit that referenced this pull requestJun 21, 2016
…lity (xabbuh)This PR was merged into the 3.2-dev branch.Discussion----------[PhpUnitBridge] use call_user_func() for PHP 5.3 compatibility| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Not all callables can be called directly on PHP 5.3 (for example, `array('className', 'methodName')` does not work).Commits-------8549e05 use call_user_func() for PHP 5.3 compatibility
@nicolas-grekas
Copy link
Member

nicolas-grekas commentedJun 21, 2016 via email

À priori 👎Because no code has yet been written with the 5.3 unsupported style, thusthere is nothing to fix.

@xabbuh
Copy link
MemberAuthor

@nicolas-grekas Yeah, but that doesn't mean that someone wants to use this in their own project outside Symfony. Why should we not make their lives easier?

@xabbuhxabbuh deleted the error-assert-php-5.3 branchJune 21, 2016 07:37
@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp