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

"Internal error: AST failed to parse in located source" with some Phalcon classes #7628

Closed
Jeckerson opened this issue Jul 14, 2022 · 3 comments

Comments

@Jeckerson
Copy link

Jeckerson commented Jul 14, 2022

Bug report

Since PHPStan version 1.7.0 there is error while parsing AST tree with some Phalcon's classes.
Related: phalcon/cphalcon#16023

Code snippet that reproduces the problem

<?php

use Phalcon\Events\Event;

How to install Phalcon:

pecl install phalcon-5.0.0RC3

Expected output

[OK] No errors
@mergeable
Copy link

mergeable bot commented Jul 14, 2022

This bug report is missing a link to reproduction at phpstan.org/try.

It will most likely be closed after manual review.

@ondrejmirtes
Copy link
Member

Duplicate of #7590.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants