Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PhpUnitBridge] Fix getEnvVar for PHP <=5.4 #26829

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

Closed
wants to merge 1 commit into from

Conversation

fxbt
Copy link

@fxbt fxbt commented Apr 6, 2018

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

The merge of the PR #26811 broke some tests for old PHP versions.

The DOMNodeList started to implement the ArrayAccess interface in PHP 5.6. For older version, we have to use the item() method to access a specific index.

@nicolas-grekas
Copy link
Member

Oups, race condition, I fixed this in 368a0c3 already.

Thank you for your PR anyway, waiting for the next one :)

@nicolas-grekas nicolas-grekas added this to the 4.1 milestone Apr 6, 2018
@fxbt
Copy link
Author

fxbt commented Apr 6, 2018

No problem, thank you for the quick answer. 😄

@fxbt fxbt deleted the phpunit-bridge-xml branch April 6, 2018 08:08
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.

3 participants