Philip Gichuhi

Results 103 comments of Philip Gichuhi

PHPDoc doesn't have a way to define the "shape" of an array. However, static analysis tools (PHPStan, Psalm) and PHPStorm (Jetbrains paid PHP IDE) seem to have agreed on a...

Couldn't find any data other than [JetBrains' report](https://www.jetbrains.com/lp/devecosystem-2021/php/#PHP_which-editor-ide-do-you-mostly-use-for-php-development) which is biased. I would guess VS Code has a strong user base seeing that it comes second. Thanks for clarifying on...

The convention for alternative paths shall be to access resources from their root e.g. for Drive, using `drive/...` endpoints etc to minimize SDK size

Adding to this... Latest stats on PHP versions from Packagist show that over 50% of apps have now upgraded to `8.x` both from our [package stats](https://packagist.org/packages/microsoft/microsoft-graph/php-stats) and the [wider PHP...

@MIchaelMainer guessing there might be compliance implications of building for an unsupported PHP version?

@adamz01h thanks for reaching out. The [Message](https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev/src/Model/Message.php) object's `setFrom()` expects a [Recipient](https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev/src/Model/Recipient.php) object. Not sure why we needed to make a copy of the Recipient model?

@adamz01h thanks for clarifying. I understand what you mean now. Calling it `Sender` or something could make more sense. Escalating this on the API design side to understand why it...

Thanks for reporting this @HermanShpryhau. While this is being investigated, you can try using a HashMap to hold the `plannerAssignment` properties and values as follows. Lmk if this unblocks you:...

(Triage notes) [`PlannerAssignments`](https://learn.microsoft.com/en-us/graph/api/resources/plannerassignments?view=graph-rest-1.0) is an [open type](https://learn.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/use-open-types-in-odata-v4). [ `PlannerAssignment`(no 's')](https://learn.microsoft.com/en-us/graph/api/resources/plannerassignment?view=graph-rest-1.0) is declared as a component in the OpenAPI spec but not generated by Kiota. Could this be because it's not...

My apologies @HermanShpryhau. I meant to pass the JSON string value. Updated the sample.