Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

TImeouts - how to prevent them #271

Open
exussum12 opened this issue Oct 8, 2017 · 0 comments
Open

TImeouts - how to prevent them #271

exussum12 opened this issue Oct 8, 2017 · 0 comments
Assignees

Comments

@exussum12
Copy link

exussum12 commented Oct 8, 2017

Question Answer
Humbug ver. 1.0.0-rc.0
Adapter ver. PHPUnit 5.7
Platform Ubuntu (Bash)
PHP ver. 7.1.9

How do you prevent timeouts ? for example

-        while (($line = fgets($handle)) !== false) {
+        while (($line = fgets($handle)) !== true) {

Causes a timeout, though I have no idea how to prevent that happening ?
Do I just accept it as a result value ?

Other examples include

-        for ($i = $start; $i <= $end; $i++) {
+        for ($i = $start; $i <= $end; $i--) {

Thanks

@theofidry theofidry self-assigned this Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants