Skip to content

Conversation

@MIchaelMainer
Copy link
Collaborator

@MIchaelMainer MIchaelMainer commented Nov 13, 2025

Summary

PHP generation started to fail on October 3rd. Essentially, CI stopped escaping the double backslash 'Microsoft\Graph\Generated' which resulted in invalid namespace declarations. This should never have worked as the single quotes are for literals. The change in behavior is associated with the change from Bash to PowerShell:

https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/pull/1380/files#diff-d0c85e8f27acaaab4d2c68d4d9f230af5aa626a859134a8cb097e5884de01289L93

It still shouldn't make a difference since Bash should still treat 'Microsoft\\Graph\\Generated' as a literal. I checked that the behavior change didn't happen in Kiota... it didn't as far as I can tell. Not worth more investigation since this shouldn't have worked in the first place.

Microsoft Reviewers: Open in CodeFlow

@MIchaelMainer MIchaelMainer requested a review from a team as a code owner November 13, 2025 22:36
@MIchaelMainer MIchaelMainer merged commit 5997274 into dev Nov 13, 2025
5 checks passed
@MIchaelMainer MIchaelMainer deleted the mmainer/fix-php branch November 13, 2025 23:03
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

Successfully merging this pull request may close these issues.

3 participants