Skip to content

Bump to PHPStan 2 and PHPParser 5 (#6) #26

Bump to PHPStan 2 and PHPParser 5 (#6)

Bump to PHPStan 2 and PHPParser 5 (#6) #26

name: Code Analysis
on:
pull_request: null
push:
branches:
- main
jobs:
code_analysis:
uses: rectorphp/reusable-workflows/.github/workflows/code_analysis.yaml@main
rector:
# run only on main repository, not on the forks without access
if: github.repository == 'rectorphp/rector-php-parser'
# see https://github.com/rectorphp/reusable-workflows
uses: rectorphp/reusable-workflows/.github/workflows/rector.yaml@main