microsoftgraph / msgraph-sdk-php

Microsoft Graph Library for PHP.
Other
583 stars 144 forks source link

Undifined classes #1552

Closed SaadEnne closed 4 months ago

SaadEnne commented 5 months ago

Describe the bug

use Microsoft\Graph\Model; use Microsoft\Graph\Graph; use Microsoft\Graph\Model\Event;

Expected behavior

when I try to import those classes I face those problems

How to reproduce

create those classes asap image

SDK Version

2.8.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ``` ```

Configuration

No response

Other information

No response

Ndiritu commented 4 months ago

Thanks for reaching out @SaadEnne.

The import namespaces have changed in version 2.x of the SDK while I see you're using imports from version 1.x.

Feel free to check our code samples and API reference docs for the correct imports.