Implement flexible parameters and add static constructor #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPStan | |
on: [ push, pull_request ] | |
jobs: | |
run-phpstan-analysis: | |
name: Run PHPStan analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Composer dependencies | |
uses: php-actions/composer@v6 | |
with: | |
php_version: 8.2 | |
- name: Invoke PHPStan | |
run: ./vendor/bin/phpstan --error-format=github |