Skip to content

Better naming of variables / methods #639

Better naming of variables / methods

Better naming of variables / methods #639

name: phpstan-generate-baseline
on:
push:
branches:
- main
jobs:
generate-baseline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: php-actions/composer@v6
with:
php_version: "8.1"
php_extensions: zip intl gd
- uses: php-actions/composer@v6
with:
php_version: "8.1"
php_extensions: zip intl gd
command: require yiisoft/yii2-redis predis/predis simplesamlphp/simplesamlphp
- name: Generate baseline
run: |
php vendor/bin/phpstan analyse --configuration=phpstan.neon --error-format=github --generate-baseline
- name: Upload baseline
uses: actions/upload-artifact@v4
with:
name: phpstan-baseline.neon
path: phpstan-baseline.neon