-
Notifications
You must be signed in to change notification settings - Fork 84
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
Issue on parsing closure callback #70
Comments
What version of this package? |
@GrahamCampbell, you can test on master. |
The test case: class ClosureTest extends \PHPUnit\Framework\TestCase
{
public function test()
{
$wrapper = new SerializableClosure(
function () {
return new ClosureContext; // new object without `()`
}
);
$code = $wrapper->getReflector()->getCode();
$this->assertContains('Opis\Closure\ClosureContext', $code);
}
} |
and1truong
added a commit
to and1truong/closure
that referenced
this issue
Jul 24, 2020
and1truong
added a commit
to and1truong/closure
that referenced
this issue
Jul 24, 2020
mnapoli
added a commit
to mnapoli/closure
that referenced
this issue
Aug 1, 2020
Follow-up from opis#71
@sorinsarca may you tag the master? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue on for PHP-DI/Slim-Bridge/ users when compiling the container, PHP-DI/Slim-Bridge#63, because this code https://github.com/PHP-DI/Slim-Bridge/blob/2.0.0/src/config.php#L61-L72
For object created without
()
, namespace was ignored:Expecting:
actual:
The text was updated successfully, but these errors were encountered: