Skip to content

Add Local-PHP-Security-Checker to the CI workflow #9

Add Local-PHP-Security-Checker to the CI workflow

Add Local-PHP-Security-Checker to the CI workflow #9

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
php-version:
- 8.2
- 8.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
ini-values: memory_limit=-1, assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
- name: Install dependencies with Composer
run: composer install --prefer-dist --no-ansi --no-interaction --no-progress
- name: Run PHP-CS-Fixer in Linter Mode
run: composer run-script php-cs-fixer -- --dry-run --show-progress=dots --using-cache=no --verbose
- name: Local PHP Security Checker
uses: docker://pplotka/local-php-security-checker-github-actions
- name: Run PHPStan
run: composer run-script phpstan
- name: Run test-suites
run: composer run-script test