We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As of PHP 8.1.0, write access to the entire $GLOBALS array is no longer supported: https://www.php.net/manual/en/reserved.variables.globals.php
$GLOBALS
Even if $GLOBALS['version'] = 'version_number'; is set in the Configuration class, we catched this ErrorException: Warning: Undefined global variable $version. https://github.com/getbrevo/brevo-php/blob/main/lib/Configuration.php#L41
$GLOBALS['version'] = 'version_number';
Configuration
Warning: Undefined global variable $version
Because this variable is called in the constructor, we got this warning constantly. Is it possible to get rid of the $GLOBALS['version'] variable?
$GLOBALS['version']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As of PHP 8.1.0, write access to the entire
$GLOBALS
array is no longer supported:https://www.php.net/manual/en/reserved.variables.globals.php
Even if
$GLOBALS['version'] = 'version_number';
is set in theConfiguration
class, we catched this ErrorException:Warning: Undefined global variable $version
.https://github.com/getbrevo/brevo-php/blob/main/lib/Configuration.php#L41
Because this variable is called in the constructor, we got this warning constantly.
Is it possible to get rid of the
$GLOBALS['version']
variable?The text was updated successfully, but these errors were encountered: