Skip to content

Fix Psalm with Drupal9.5 #90

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

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Fix Psalm with Drupal9.5 #90

merged 1 commit into from
Feb 10, 2023

Conversation

Juhani-moilanen
Copy link
Contributor

Code was taken from https://github.com/mglaman/phpstan-drupal/blob/55c3f437e52d0e10e7ac59ffb20e338625b79594/src/Drupal/DrupalAutoloader.php#L159

Tried in my local setup -- with this fix psalm ran without errors

@Juhani-moilanen Juhani-moilanen linked an issue Feb 8, 2023 that may be closed by this pull request
Copy link
Collaborator

@hkirsman hkirsman left a comment

Choose a reason for hiding this comment

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

Works in both 9.4 and 9.5

@Juhani-moilanen Juhani-moilanen merged commit 87129b5 into main Feb 10, 2023
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.

Drupal ^9.5 Uncaught error: Cannot unset string offsets
2 participants