Skip to content

Update dangerous dependencies and sub-dependencies #280

Update dangerous dependencies and sub-dependencies

Update dangerous dependencies and sub-dependencies #280

Workflow file for this run

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
types: [ opened, labeled, synchronize ]
name: PHPStan Code Analysis
jobs:
phpstan:
if: contains(github.event.pull_request.labels.*.name, 'run analysis')
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: "📥 Fetching Repository Contents"
uses: actions/checkout@v2
- name: "💽 Installing PHP, Composer, CS2PR"
uses: shivammathur/setup-php@2.10.0
with:
php-version: '7.4'
coverage: none
ini-values: display_errors = on, error_reporting = E_ALL
tools: phpstan, composer
- name: "💽 Installing Composer Packages"
run: composer install
- name: "🧪 Test"
run: phpstan analyze ./