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

Strict error #4

Closed
kodecraft opened this issue Feb 26, 2016 · 1 comment
Closed

Strict error #4

kodecraft opened this issue Feb 26, 2016 · 1 comment

Comments

@kodecraft
Copy link

I am not sure if this is the same as issue #1 but when I do the following:

use const nspl\args\string;
use function nspl\args\expects;

expects(string, 1);

I get:

PHP Strict error: Only variables should be passed by reference

ihor added a commit that referenced this issue Feb 27, 2016
@ihor
Copy link
Owner

ihor commented Feb 27, 2016

Thanks, this is fixed. I also turned on E_STRICT for the test to not miss similar errors in future.

@ihor ihor closed this as completed Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants