-
Notifications
You must be signed in to change notification settings - Fork 196
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
Several fixes for usage with php 7.3 #9
Conversation
thomaslauria
commented
Jul 24, 2019
- Avoid error-logs full of PHP Warnings due to autoloads from class-exists()-checks
- session errors
- Fix Test class path
Merge upstream zf1-future changes into our forked branch
Merge upstream changes into MittagQI Fork
Sounds like you need to fix your warnings, not suppress them, I can't really agree with that change to Loader.php Could you explain the purpose of the changes to Session.php and what that helps fix? I'm not having any session issues with my build so I'm wondering what causes whatever the issue is. The changes to DbTable's write function are fine, but the changes to destroy are fundamentally wrong, a query can fail for reasons other than the item already being deleted. You should check for existence before attempting to delete. The changes to phpunit will cause issues for people who still use a version of PHPUnit that has PHPUnit_FrameworkTestCase. It'll also cause issues for people who have solved this issue with the following snippet which you can put in your bootstrap file |
Loader.php: due the usage of class_exist in the application we were getting a lot of warnings here. If a class really does not exist (and is even not loadable via the Loader) a warning was produced which is not needed at all. So suppressing the include warnings is OK here, since if the loader can not load something this produces a follow up error, either on usage of the class or resulting in a false result from class_exist. Session fixes:
PHPUnit: |
|
…large-text restore mbstring overloading for full backwards compatibility