| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
In php8.4 stream_context_set_option no longer supports the signature with two arguments. Therefor the alternative function stream_context_set_options needs to be used. source: https://www.php.net/manual/en/function.stream-context-set-option.php Also implicitly marking parameters as nullable is deprecated. Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
|
Looks like this will fix #805. Any estimate date when this will be merged? Thanks!! |
Sorry, something went wrong.
Merge branch 'main' into soap-php8.4 - remove 202408 - add 202505 - add fixes to 202505 Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
stream_context_set_options only exists since php8.3.0. This Commit intruces a check for the php version. If the version is greater or equal than 8.3.0 it uses stream_context_set_options. Otherwise it uses stream_context_set_option. Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
the php version id check for backwards compatibility had one digit to much. Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
|
Hey Any estimate date when this will be merged? Thanks!! |
Sorry, something went wrong.
- remove 202411 - add 202508 - adjust LineItem and LineItemSummary Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
|
For anybody who needs it: I currently maintain a Fork on packagist until this is merged, or the error is fixed. |
Sorry, something went wrong.
Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
also fix in v202411 Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
replaced every "array $var = null" with "?array $var = null" Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
Signed-off-by: Spirit-act <16631523+Spirit-act@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
In php8.4 stream_context_set_option no longer supports the signature with two arguments. Therefor the alternative function stream_context_set_options needs to be used.
source: https://www.php.net/manual/en/function.stream-context-set-option.php
Also implicitly marking parameters as nullable is deprecated.
The implicit nullable is only changed by files, which I use within my script, because only these I could validate.
Edit:
In the last commit a check for the PHP version was added. If the PHP version is greater or equal to PHP 8.3.0 stream_context_set_options is used. If the version is lower stream_context_set_option is used.
It feels a bit ugly, but i did not find a better solution for backwards compatibility.