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 PHPStan Github Action #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rvanlaak
Copy link

@rvanlaak rvanlaak commented Dec 16, 2019

To ensure code quality via Github Actions.

No dependencies added to the project.

Added baseline so current state of the project passes. Remove entries here to start increasing code quality 🚀

References

https://medium.com/@ondrejmirtes/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard-e77d815a5dff

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 35533fe on scribbr:phpstan into 9a54a71 on theiconic:master.

Copy link
Contributor

@wyrfel wyrfel 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 doing this.
Do we need the makefile here?



parameters:
ignoreErrors:
Copy link
Contributor

Choose a reason for hiding this comment

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

@rvanlaak I think it would be better we fixed these errors than ignoring them.

Copy link
Author

Choose a reason for hiding this comment

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

Absolutely, but it could cause bugs where this PR does focus on adding static analyses to begin with. That way new code will be covered. What about fixing it in a new PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants