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

Enhancement: Run static code analysis with phpstan/phpstan on GitHub Actions #9

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

Conversation

localheinz
Copy link

@localheinz localheinz commented Aug 15, 2023

This pull request

  • runs a static code analysis with phpstan/phpstan on GitHub Actions

Follows #3.

💁‍♂️ The workflow will not run unless merged into master - but you can see the workflow in action on my fork at localheinz#1.

.gitattributes Outdated
Copy link
Author

Choose a reason for hiding this comment

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

This file allows us to exclude files for package consumers.

For reference, see https://www.git-scm.com/docs/gitattributes.

- phpstan-baseline.neon

parameters:
level: 0
Copy link
Author

Choose a reason for hiding this comment

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

This is the lowest level that phpstan/phpstan runs on without any errors.

@localheinz localheinz force-pushed the feature/static-code-analysis branch from 11db6ad to f6fbf3d Compare August 15, 2023 08:04
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.

1 participant