Skip to content
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

Creation of dynamic property Google\Service\Calendar::$serviceName is deprecated #2634

Open
jAKErCZ opened this issue Oct 24, 2024 · 0 comments

Comments

@jAKErCZ
Copy link

jAKErCZ commented Oct 24, 2024

  • PHP version: 8.2.24
  • Package name and version: 0.378.0

I get a deprecated warning when using php version 8.2

Deprecated

Creation of dynamic property [Google\Service\Calendar](editor://open/?file=%2FUsers%2Fkorcak%2FDesktop%2Fprojects%2Fsmsinfina%2Fvendor%2Fgoogle%2Fapiclient-services%2Fsrc%2FCalendar.php&line=35&search=&replace=)::$serviceName is deprecated

public function __construct($clientOrConfig = [], $rootUrl = null)
71:      {
72:        parent::__construct($clientOrConfig);
73:        $this->rootUrl = $rootUrl ?: 'https://www.googleapis.com/';
74:        $this->rootUrlTemplate = $rootUrl ?: 'https://www.UNIVERSE_DOMAIN/';
75:        $this->servicePath = 'calendar/v3/';
76:        $this->batchPath = 'batch/calendar/v3';
77:        $this->version = 'v3';
78:        $this->serviceName = 'calendar';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant