-
Notifications
You must be signed in to change notification settings - Fork 54
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #36 on php5.6 #37
Conversation
example/api_context_save_example.php
Outdated
@@ -15,5 +15,6 @@ | |||
const DEVICE_DESCRIPTION = 'Server 1'; | |||
const PERMITTED_IPS = []; | |||
|
|||
date_default_timezone_set('UTC'); // When using php5.6 |
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.
Oh btw... Are server responses indeed in UTC? Which timezone do we want to stick to in there?
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.
@dnl-blkv it appears that UTC is returned. But this is not documenten on the docs 馃.
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.
hmm, then we probably want to set this as a default for all times the date is used... In some entry point of the SDK perhaps, or just create a date wrapper with UTC to use there %)
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.
@OGKevin let's remove this line for now and address it as a separate issue! :)
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.
Looks good!
@OGKevin the fatal still exists in |
@andrederoos Wel the particular error in #36 is fixed with this pr, however the structure we've chosen for the SDK doesn't seem to like php 5.6. We were debating on dropping 5.6 or not but have't come to a decision yet. Based on this decision we can see what we can do with the fatal. |
@OGKevin What is the fatal happening here? |
@dnl-blkv The avatar fatal
Because there are 2 |
@OGKevin Could you please create an issue for it? (No there are no two |
ack, #38 |
This should fix the error shown in #36.
However the
avatar
fatal is still present when using/sdk_php/src/Model/Generated/MonetaryAccountBank.php
馃Tests passes on
php7.1
.