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

[Bug] FuncCall should not be 0 #249

Closed
ddmler opened this issue Oct 12, 2016 · 1 comment
Closed

[Bug] FuncCall should not be 0 #249

ddmler opened this issue Oct 12, 2016 · 1 comment
Labels

Comments

@ddmler
Copy link
Collaborator

ddmler commented Oct 12, 2016

Notice: You are trying to divide from 0: /{expr} in ./src/Command/CheckCommand.php on 177 [division-zero]
return round(memory_get_usage($type) / 1024 / 1024, 2);

The function call should not be treated the same as 0 and therefore we should get no notice here.

@ddmler ddmler added the bug label Oct 12, 2016
@ovr ovr closed this as completed in 652b11e Dec 7, 2016
@ovr
Copy link
Owner

ovr commented Dec 7, 2016

@ddmler Thanks for bug report 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants