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

Locked version mglaman/phpstan-drupal to 1.2.0 #969

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

shishir-intelli
Copy link
Collaborator

@shishir-intelli shishir-intelli commented Nov 7, 2023

Temporary locked mglaman/phpstan-drupal version to 1.2.0, latest version of mglaman/phpstan-drupal is causing error durning Drupal-check.

Error: Internal error: Internal error: Cannot create PHPStan\Type\UnionType with: Drupal\apigee_edge\SDKConnector, Drupal\apigee_edge_debug\SDKConnector|Drupal\apigee_edge_test\SDKConnector while analysing file

We need to remove the locked version once we resolve the above issue.
Issue created here to rollback the changes.

@shishir-intelli shishir-intelli added the bug Something isn't working label Nov 7, 2023
@shishir-intelli shishir-intelli added this to the 3.0.4 milestone Nov 7, 2023
@shishir-intelli shishir-intelli changed the title Locked version phpstan-drupal to 1.2.0 Locked version mglaman/phpstan-drupal to 1.2.0 Nov 7, 2023
Copy link
Collaborator

@divya-intelli divya-intelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mxr576
Copy link
Contributor

mxr576 commented Nov 7, 2023

Is this a bug in this code or in mglaman/phpstan-drupal? If the latter, was this reported? Is there an issue reference in mglaman/phpstan-drupal?

@mxr576
Copy link
Contributor

mxr576 commented Nov 7, 2023

Probably this was caused by mglaman/phpstan-drupal#615

@shishir-intelli
Copy link
Collaborator Author

Probably this was caused by mglaman/phpstan-drupal#615

Ah okay, probably!
We will update mglaman/phpstan-drupal version to latest once the issue identified and resolved.

@shishir-intelli shishir-intelli merged commit 807f6a6 into apigee:3.x Nov 7, 2023
1 of 3 checks passed
@mglaman
Copy link

mglaman commented Nov 7, 2023

Interesting. I wonder why those three classes cannot be considered a union. Can you open an issue for phpstan-drupal about this? It'd be helpful if you could link to those three classes so I can review them.

@mxr576
Copy link
Contributor

mxr576 commented Nov 7, 2023

(Summoned Matt on Drupal Slack, thanks for jumping in! :) )

I wonder why those three classes cannot be considered a union.

Had the same question in my head, but did not have time to check it. I'd start there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging this pull request may close these issues.

4 participants