-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG]: PHPUnit Mock / Mockery Mock : SIGSEGV #16080
Comments
Tried with PHP7.4 got this error:
Investigating with |
We have never tried in 7.4 because Phalcon 3.4 is only available 7.3 |
Property's getter was generating wrong Wrong: ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_mvc_model_gettransaction, 0, 0, IS_NULL, 1)
ZEND_END_ARG_INFO() Correct: ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_phalcon_mvc_model_gettransaction, 0, 0, Phalcon\\Mvc\\Model\\TransactionInterface, 1)
ZEND_END_ARG_INFO() |
Related: zephir-lang/zephir#2386 |
Fixed in #16085 |
Describe the bug
PHPUnit throw sigfault error when we try mock Model
Error
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
We tried with
Mockery
&PHPUnit
To Reproduce
Steps to reproduce the behavior:
Create Empty model like
Create unit test and try to create mock of this model
Expected behavior
In Phalcon 3.4 its work
Details
Thanks
The text was updated successfully, but these errors were encountered: