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

add template annotations on Compiler #2388

Merged
merged 3 commits into from
Jun 12, 2020
Merged

add template annotations on Compiler #2388

merged 3 commits into from
Jun 12, 2020

Conversation

orklah
Copy link
Contributor

@orklah orklah commented Jun 9, 2020

This should fix some errors reported by phpstan on the last build.

The last error on the build seems related to phpstan/phpstan#3415. Let's see if it's fixed soon, otherwise I'll create a PR to ignore this error.

@orklah
Copy link
Contributor Author

orklah commented Jun 9, 2020

Hmm, Psalm doesn't seem to be aware of the template on SplPriorityQueue. Solving the issue for phpstan creates one for Psalm.

I'll investigate a little to see if there are simple solution, otherwise this could be ignored in psalm configs, Phpstan seems more detailed in this case.

…pect template annotation to SplPriorityQueue
@orklah
Copy link
Contributor Author

orklah commented Jun 9, 2020

I ignored the issue in Psalm. It could be added as a stub to add the missing functionality but I don't know the class well enough to try this right now

@jaapio jaapio merged commit 5fc977b into phpDocumentor:master Jun 12, 2020
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.

None yet

2 participants