Skip to content

Bump phpstan/phpstan from 1.11.8 to 1.11.9 #5695

Bump phpstan/phpstan from 1.11.8 to 1.11.9

Bump phpstan/phpstan from 1.11.8 to 1.11.9 #5695

Workflow file for this run

name: 🔎 Static Analysis
on:
pull_request:
branches: [ "master" ]
jobs:
psalm:
name: Run Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Composer Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Psalm
id: analysis
run: vendor/bin/psalm --show-info=true > psalmout.txt || exit 0
- name: Print Psalm output
run: cat psalmout.txt
# Send the reports to the CI server to calculate type coverage and send back commit status checks
- name: Ping CI server with type coverage results
if: github.event.repository.full_name == 'hydephp/develop'
run: php monorepo/scripts/ping-ci-server-with-type-coverage.php ${{ secrets.CI_SERVER_TOKEN }} ${{ github.event.pull_request.head.sha }} ${{ github.head_ref }} ${{ github.run_id }}
type-coverage:
name: Check Type Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Composer Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Pest Type Coverage
run: ./vendor/bin/pest --type-coverage