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

fix: Add consideration of Node\Attribute to FileVisitor #444

Conversation

philipp-yoummday
Copy link
Contributor

@philipp-yoummday philipp-yoummday commented Jan 23, 2025

At the moment imports of Attributes are ignored. This results in unreliable code analysis.

I've adjusted the code to take imports from attributes into account.

@philipp-yoummday
Copy link
Contributor Author

@AlessandroMinoccheri can you take a look at this PR?

@micheleorselli
Copy link
Contributor

Hey @philipp-yoummday, thank you for your contribution! Would it be possibile to add a test for the new behaviour?

@philipp-yoummday
Copy link
Contributor Author

@micheleorselli thank you for your comment! Please let me know if that test is sufficient enough for you.

@micheleorselli
Copy link
Contributor

@philipp-yoummday would you mind rebasing to master? build should be working now, thanks! 🙇

@philipp-yoummday philipp-yoummday force-pushed the bugfix/fileVisitor/add-attributes branch from 8d107b5 to 2f02e40 Compare February 11, 2025 05:26
@philipp-yoummday
Copy link
Contributor Author

@micheleorselli good morning, thanks a lot! Rebase is done.

@micheleorselli micheleorselli force-pushed the bugfix/fileVisitor/add-attributes branch from 2f02e40 to 106cc5a Compare February 11, 2025 21:01
@micheleorselli
Copy link
Contributor

one last tests fails, would you mind fixing it?

@philipp-yoummday philipp-yoummday force-pushed the bugfix/fileVisitor/add-attributes branch from ba4b656 to 8aa5c47 Compare February 19, 2025 07:52
@philipp-yoummday
Copy link
Contributor Author

@micheleorselli please let the pipeline run again. It should be working now.

@micheleorselli micheleorselli merged commit 414ec7a into phparkitect:main Feb 19, 2025
16 checks passed
@micheleorselli
Copy link
Contributor

Thank you @philipp-yoummday ! 🙇

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.

2 participants