-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix #80: Added a check on current server's php.ini's 'max_execution_time' requiring it to exceed the time specified / tested application's comfortable installation time #81
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #81 +/- ##
============================================
- Coverage 15.48% 13.30% -2.18%
- Complexity 57 60 +3
============================================
Files 4 4
Lines 452 526 +74
============================================
Hits 70 70
- Misses 382 456 +74 ☔ View full report in Codecov by Sentry. |
* @param string|null $max | ||
* @return bool | ||
*/ | ||
public function checkMaxExecutionTime(?string $max = null): bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why string if the time is int?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just following the above function checkUploadMaxFileSize which uses strings for min and max. Yes should be int.
Co-authored-by: Alexander Makarov <[email protected]>
Co-authored-by: Alexander Makarov <[email protected]>
Co-authored-by: Alexander Makarov <[email protected]>
All good. Please add a line for CHANGELOG. |
Thank you! |
This would be a useful check prior to installation preventing unnecessary installation timeouts.