Skip to content

up

up #487

Workflow file for this run

name: phpinsights
on: [push]
jobs:
phpinsights:
runs-on: ubuntu-latest
name: PHP Insights checks
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@latest
with:
php-version: 8.1
- run: composer install --prefer-dist --no-progress
- run: composer require nunomaduro/phpinsights --dev
- run: cp vendor/nunomaduro/phpinsights/stubs/laravel.php phpinsights.php
- run: vendor/bin/phpinsights -n --ansi --format=github-action --fix
- uses: stefanzweifel/git-auto-commit-action@latest
with:
commit_message: phpinsights