Skip to content

Remove travis.ci and replace with github actions #2

Remove travis.ci and replace with github actions

Remove travis.ci and replace with github actions #2

Workflow file for this run

name: Static Analysis
on:
push:
branches: [ main, master ]
pull_request:
types: [opened, synchronize, reopened]
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
extensions: zip, mbstring
tools: composer, phpstan
- name: Install dependencies
run: composer install --no-progress --prefer-dist
- name: Run PHPStan
run: vendor/bin/phpstan analyse --level=max src/