Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PhpUnitBridge] fix PHP 5.3 compat #30087

Merged
merged 1 commit into from Feb 7, 2019

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

ONLY FOR 3.4
The bridge must remain compatible with PHP 5.3
Introduced in 33a001e.

if (self::MODE_DISABLED !== $mode
&& self::MODE_WEAK !== $mode
&& self::MODE_WEAK_VENDORS !== $mode
if (DeprecationErrorHandler::MODE_DISABLED !== $mode
Copy link
Member

Choose a reason for hiding this comment

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

This change isn't needed, is it?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's precisely the line where it fails first :)
https://travis-ci.org/symfony/polyfill/jobs/489417717

Copy link
Member

Choose a reason for hiding this comment

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

oh PHP 5.3 :o

@nicolas-grekas nicolas-grekas merged commit b45cbf6 into symfony:3.4 Feb 7, 2019
nicolas-grekas added a commit that referenced this pull request Feb 7, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[PhpUnitBridge] fix PHP  5.3 compat

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

ONLY FOR 3.4
The bridge must remain compatible with PHP 5.3
Introduced in 33a001e.

Commits
-------

b45cbf6 [PhpUnitBridge] fix PHP  5.3 compat
@nicolas-grekas nicolas-grekas deleted the phpunit-fix branch February 7, 2019 19:31
This was referenced Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants