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

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Failing test to reproduce the error with reflection and core classes#5062

Closed
stefanosala wants to merge 1 commit into
zendframework:masterfrom
stefanosala:reflection-core-class
Closed

Failing test to reproduce the error with reflection and core classes#5062
stefanosala wants to merge 1 commit into
zendframework:masterfrom
stefanosala:reflection-core-class

Conversation

@stefanosala
Copy link
Copy Markdown

As reported in Symfony2 Google group, we found an issue with the reflection: MethodReflection is unable to read the source for the compiled classes (eg SoapClient, DateTime, etc).

1) ZendTest\Code\Reflection\MethodReflectionTest::testGetContentsWithCoreClass
file(): Filename cannot be empty

/Users/stefanosala/Sites/src/zf2/library/Zend/Code/Reflection/MethodReflection.php:123
/Users/stefanosala/Sites/src/zf2/tests/ZendTest/Code/Reflection/MethodReflectionTest.php:65

I created a test to reproduce this issue, but unfortunately I'm not able to find a patch. If anyone has a hint, just add a comment and I'll try to work on it.

@Ocramius
Copy link
Copy Markdown
Member

Ocramius commented Sep 2, 2013

@stewe thanks for filing this, I'll check it as soon as I got time

@weierophinney
Copy link
Copy Markdown
Member

@Ocramius any chance you can look at this soon?

weierophinney added a commit that referenced this pull request Nov 1, 2013
fixes #5062 - No longer throw Filename cannot be empty error
weierophinney added a commit that referenced this pull request Nov 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants