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 Phan static checking #195

Closed
wants to merge 1 commit into from
Closed

Add Phan static checking #195

wants to merge 1 commit into from

Conversation

MaxSem
Copy link
Contributor

@MaxSem MaxSem commented Feb 21, 2019

The tests produce too much noise for now so not enabling them in CI,
however this commit includes a start of fixing.

@MusikAnimal MusikAnimal added the WIP Work In Progress label Mar 18, 2019
@MaxSem MaxSem force-pushed the phan branch 2 times, most recently from 951a318 to 05370d6 Compare April 8, 2019 21:47
@MaxSem MaxSem added Ready for review Ready for peer review and removed WIP Work In Progress labels Apr 9, 2019
Copy link
Member

@MusikAnimal MusikAnimal left a comment

Choose a reason for hiding this comment

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

Thanks for adding Phan! Indeed it looks like there's a lot of noise, some of it perhaps false positives or something we may wish to ignore.

Anyway I think we need to require php-ast under require-dev in composer.json. Also merge conflicts.

The tests produce too much noise for now so not enabling them in CI,
however this commit includes a start of fixing.
@MaxSem
Copy link
Contributor Author

MaxSem commented Apr 18, 2019

Done.

@@ -22,16 +22,18 @@
},
"require": {
"php": "^7.2",
"ext-ast": "*",
Copy link
Member

Choose a reason for hiding this comment

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

This should be under require-dev, no? Also need to run composer update to make the lock file in sync

@MusikAnimal
Copy link
Member

Phan is now in the repo, but not part of the test suite yet as there are many things still to fix

@MusikAnimal MusikAnimal deleted the phan branch July 23, 2024 20:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for review Ready for peer review
Development

Successfully merging this pull request may close these issues.

2 participants