Skip to content

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

Open
localheinz wants to merge 1 commit intoyongfook:masterfrom
localheinz:feature/static-code-analysis
Open

Enhancement: Run static code analysis with phpstan/phpstan on GitHub Actions#9
localheinz wants to merge 1 commit intoyongfook:masterfrom
localheinz:feature/static-code-analysis

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.

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