Skip to content

TiDSchi/wp-stan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP-Stan GitHub Action

This GitHub Action runs PHPStan for WordPress plugins/themes.

Inputs

  • phpstan-config: Path to the PHPStan configuration file (default: ./phpstan.neon)
  • phpstan-level: Analysis level (default: max)

Example Usage

jobs:
  phpstan:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v3
      - name: Run WP-Stan
        uses: tidschi/wp-stan@v1
        with:
          phpstan-config: './custom-phpstan.neon'
          phpstan-level: '5'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published